Fix so it can compile agein

svn path=/trunk/; revision=14918
This commit is contained in:
Magnus Olsen 2005-05-01 18:23:08 +00:00
parent 62bf02deb7
commit 832cfa1af7

View file

@ -276,12 +276,12 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho
ULONG i; ULONG i;
BOOL vdmStarted = FALSE; BOOL vdmStarted = FALSE;
TCHAR WelcomeMsg[RC_STRING_MAX_SIZE]; WCHAR WelcomeMsg[RC_STRING_MAX_SIZE];
TCHAR PromptMsg[RC_STRING_MAX_SIZE]; WCHAR PromptMsg[RC_STRING_MAX_SIZE];
CHAR InputBuffer[255]; CHAR InputBuffer[255];
LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, WelcomeMsg,sizeof(WelcomeMsg)); LoadString( GetModuleHandle(NULL), STRING_WelcomeMsg, (LPTSTR) WelcomeMsg,sizeof(WelcomeMsg));
LoadString( GetModuleHandle(NULL), STRING_PromptMsg, PromptMsg ,sizeof(PromptMsg)); LoadString( GetModuleHandle(NULL), STRING_PromptMsg, (LPTSTR) PromptMsg ,sizeof(PromptMsg));
AllocConsole(); AllocConsole();
SetConsoleTitleW(L"ntvdm"); SetConsoleTitleW(L"ntvdm");