comparison src/video/wincommon/SDL_sysevents.c @ 4007:4e4866a72905 SDL-1.2

Fixed Windows build
author Sam Lantinga <slouken@libsdl.org>
date Thu, 05 Jul 2007 07:11:05 +0000
parents c75679dce60c
children 3aa1406620f6
comparison
equal deleted inserted replaced
4006:2c66ac13144f 4007:4e4866a72905
813 if ( name ) { 813 if ( name ) {
814 #ifdef _WIN32_WCE 814 #ifdef _WIN32_WCE
815 /* WinCE uses the UNICODE version */ 815 /* WinCE uses the UNICODE version */
816 SDL_Appname = SDL_iconv_utf8_ucs2(name); 816 SDL_Appname = SDL_iconv_utf8_ucs2(name);
817 #else 817 #else
818 SDL_Appname = SDL_iconv_utf8_latin1(name); 818 SDL_Appname = SDL_iconv_utf8_locale(name);
819 #endif /* _WIN32_WCE */ 819 #endif /* _WIN32_WCE */
820 SDL_Appstyle = style; 820 SDL_Appstyle = style;
821 SDL_Instance = hInst ? hInst : SDL_GetModuleHandle(); 821 SDL_Instance = hInst ? hInst : SDL_GetModuleHandle();
822 } 822 }
823 823