Skip to content
Permalink
Browse files
locale: Patched to compile on Windows Phone.
  • Loading branch information
icculus committed May 20, 2020
1 parent a5c654d commit d66b73666da90517e9c358937d219d7f281d1052
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/locale/winrt/SDL_syslocale.c
@@ -35,7 +35,7 @@ SDL_SYS_GetPreferredLocales(char *buf, size_t buflen)

/* !!! FIXME: do we not have GetUserPreferredUILanguages on WinPhone or UWP? */
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraylen(wbuffer));
ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraysize(wbuffer));
# else
ret = GetSystemDefaultLocaleName(wbuffer, SDL_arraysize(wbuffer));
# endif

0 comments on commit d66b736

Please sign in to comment.