From 0fa2086c712b8d8822b9fbd57ed638403fb2e78f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 5 Jul 2007 07:11:05 +0000 Subject: [PATCH] Fixed Windows build --- src/video/wincommon/SDL_sysevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wincommon/SDL_sysevents.c b/src/video/wincommon/SDL_sysevents.c index 1dc9bdb29..ac538d390 100644 --- a/src/video/wincommon/SDL_sysevents.c +++ b/src/video/wincommon/SDL_sysevents.c @@ -815,7 +815,7 @@ int SDL_RegisterApp(char *name, Uint32 style, void *hInst) /* WinCE uses the UNICODE version */ SDL_Appname = SDL_iconv_utf8_ucs2(name); #else - SDL_Appname = SDL_iconv_utf8_latin1(name); + SDL_Appname = SDL_iconv_utf8_locale(name); #endif /* _WIN32_WCE */ SDL_Appstyle = style; SDL_Instance = hInst ? hInst : SDL_GetModuleHandle();