mirror of
https://github.com/yuzu-emu/liftinstall
synced 2024-11-23 12:53:52 +00:00
Fix generating shortcuts for non-English usernames on Windows
This commit is contained in:
parent
c84d5daf3a
commit
8db5358967
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ extern "C" int saveShortcut(
|
||||||
}
|
}
|
||||||
|
|
||||||
//Append the shortcut name to the folder
|
//Append the shortcut name to the folder
|
||||||
MultiByteToWideChar(CP_ACP,0,shortcutPath,-1,wName,MAX_PATH);
|
MultiByteToWideChar(CP_UTF8,0,shortcutPath,-1,wName,MAX_PATH);
|
||||||
|
|
||||||
// Load the file if it exists, to get the values for anything
|
// Load the file if it exists, to get the values for anything
|
||||||
// that we do not set. Ignore errors, such as if it does not exist.
|
// that we do not set. Ignore errors, such as if it does not exist.
|
||||||
|
|
Loading…
Reference in a new issue