src/locale/winrt/SDL_syslocale.c
changeset 13835 3f63f707ca4f
parent 13797 55ec5ae4aa0b
child 13837 c18c3084bd77
     1.1 --- a/src/locale/winrt/SDL_syslocale.c	Tue May 19 13:22:01 2020 -0400
     1.2 +++ b/src/locale/winrt/SDL_syslocale.c	Wed May 20 16:15:14 2020 -0400
     1.3 @@ -35,7 +35,7 @@
     1.4  
     1.5      /* !!! FIXME: do we not have GetUserPreferredUILanguages on WinPhone or UWP? */
     1.6  # if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
     1.7 -    ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraylen(wbuffer));
     1.8 +    ret = GetLocaleInfoEx(LOCALE_NAME_SYSTEM_DEFAULT, LOCALE_SNAME, wbuffer, SDL_arraysize(wbuffer));
     1.9  # else
    1.10      ret = GetSystemDefaultLocaleName(wbuffer, SDL_arraysize(wbuffer));
    1.11  # endif