src/locale/windows/SDL_syslocale.c


Log

Author Commit Date CI Message
Ozkan Sezer a19c008a 2020-12-22T17:10:02 use GetModuleHandleW() to retrieve kernel32.dll handle (bug #5390.) SDL_systhread.c and SDL_syslocale.c used to call LoadLibrary() without calling FreeLibrary() later. GetModuleHandleW() should always succeed because GetModuleHandleW() itself is imported from kernel32.dll and we don't need to bother releasing it.
Sam Lantinga cb361896 2020-12-09T07:16:22 Fixed bug 5235 - All internal sources should include SDL_assert.h Ryan C. Gordon We should really stick this in SDL_internal.h or something so it's always available.
Ozkan Sezer 1f4b5d54 2020-10-06T00:20:20 windows/SDL_syslocale.c: make it build against older SDKs.
Ryan C. Gordon 600a2fc7 2020-05-21T04:01:37 locale: Removed unused variable.
Ryan C. Gordon ba11122e 2020-05-21T03:48:56 locale: Fixed compiler warning on Visual Studio.
Ryan C. Gordon fa23e3d0 2020-05-04T02:27:29 locale: Implemented SDL_GetPreferredLocales(). This was something I proposed a long time ago, Sylvain Becker did additional work on it, then back to me. Fixes Bugzilla #2131.