src/locale/windows/SDL_syslocale.c
changeset 13845 210fb62f0c96
parent 13843 cbd001bb0b89
equal deleted inserted replaced
13844:3c44ba7a04fd 13845:210fb62f0c96
    35 
    35 
    36 /* this is the fallback for WinXP...one language, not a list. */
    36 /* this is the fallback for WinXP...one language, not a list. */
    37 static void
    37 static void
    38 SDL_SYS_GetPreferredLocales_winxp(char *buf, size_t buflen)
    38 SDL_SYS_GetPreferredLocales_winxp(char *buf, size_t buflen)
    39 {
    39 {
    40     const char **retval = NULL;
       
    41     char lang[16];
    40     char lang[16];
    42     char country[16];
    41     char country[16];
    43 
    42 
    44 	const int langrc = GetLocaleInfoA(LOCALE_USER_DEFAULT,
    43 	const int langrc = GetLocaleInfoA(LOCALE_USER_DEFAULT,
    45                                       LOCALE_SISO639LANGNAME,
    44                                       LOCALE_SISO639LANGNAME,