mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
[NTVDM] Load resource strings in Unicode when printing them in Unicode
svn path=/trunk/; revision=46963
This commit is contained in:
parent
1aa7aa1be5
commit
b423af097f
|
@ -282,8 +282,8 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
|
|||
WCHAR PromptMsg[RC_STRING_MAX_SIZE];
|
||||
CHAR InputBuffer[255];
|
||||
|
||||
LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, (LPTSTR) WelcomeMsg,sizeof(WelcomeMsg) / sizeof(WelcomeMsg[0]));
|
||||
LoadString( GetModuleHandle(NULL), STRING_PromptMsg, (LPTSTR) PromptMsg ,sizeof(PromptMsg) / sizeof(PromptMsg[0]));
|
||||
LoadStringW( GetModuleHandle(NULL), STRING_WelcomeMsg, WelcomeMsg,sizeof(WelcomeMsg) / sizeof(WelcomeMsg[0]));
|
||||
LoadStringW( GetModuleHandle(NULL), STRING_PromptMsg, PromptMsg ,sizeof(PromptMsg) / sizeof(PromptMsg[0]));
|
||||
|
||||
AllocConsole();
|
||||
SetConsoleTitleW(L"ntvdm");
|
||||
|
|
Loading…
Reference in a new issue