Skip to content

Commit

Permalink
Use the eventually true UNICODE imageNameT if -DUNICODE
Browse files Browse the repository at this point in the history
using `toUnicode` does not do the right thing: it promotes each UTF8 byte code to short...
... which can hardly work beyond ASCII.
  • Loading branch information
nicolas-cellier-aka-nice committed Dec 30, 2018
1 parent 49eff31 commit 627bc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/win32/vm/sqWin32Service.c
Expand Up @@ -101,7 +101,7 @@ TCHAR *printCommandLine(int printFor95)
}
/* add image name */
lstrcat(buffer, TEXT("\""));
lstrcat(buffer, toUnicode(imageName));
lstrcat(buffer, imageNameT);
lstrcat(buffer, TEXT("\"\0"));

return buffer;
Expand Down

0 comments on commit 627bc5e

Please sign in to comment.