*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sat, 05 Oct 2002 05:44:09 +0000
changeset 5056b34c9dcf74c
parent 504 8c4a35e3c507
child 506 f097dba83975
*** empty log message ***
src/main/win32/SDL_main.c
     1.1 --- a/src/main/win32/SDL_main.c	Sat Oct 05 05:42:56 2002 +0000
     1.2 +++ b/src/main/win32/SDL_main.c	Sat Oct 05 05:44:09 2002 +0000
     1.3 @@ -291,9 +291,9 @@
     1.4  #ifdef _WIN32_WCE
     1.5  	nLen = wcslen(szCmdLine)+128+1;
     1.6  	bufp = (wchar_t *)alloca(nLen*2);
     1.7 -	wcscpy (bufp, "\"");
     1.8 +	wcscpy (bufp, TEXT("\""));
     1.9  	GetModuleFileName(NULL, bufp+1, 128-3);
    1.10 -	wcscpy (bufp+wcslen(bufp), "\" ");
    1.11 +	wcscpy (bufp+wcslen(bufp), TEXT("\" "));
    1.12  	wcsncpy(bufp+wcslen(bufp), szCmdLine,nLen-wcslen(bufp));
    1.13  	nLen = wcslen(bufp)+1;
    1.14  	cmdline = (char *)alloca(nLen);