Closed piernov closed 2 years ago
Using GetUserNameA with a username containing non-ASCII characters would cause a crash when calling u8path(). Use GetUserNameW and construct path from wchar_t for FileTreeNode constructor instead.
GetUserNameA
u8path()
GetUserNameW
path
wchar_t
FileTreeNode
Based off the branch for #12 .
Thanks! Merged
Using
GetUserNameA
with a username containing non-ASCII characters would cause a crash when callingu8path()
. UseGetUserNameW
and constructpath
fromwchar_t
forFileTreeNode
constructor instead.Based off the branch for #12 .