1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Disable gettext catalog switching with MUSL

It seems not possible to change the language at runtime.
This commit is contained in:
Mathieu Schroeter 2018-07-22 15:01:04 +02:00
parent 4a75c5e66a
commit 289881e71c

View File

@ -4071,6 +4071,10 @@ CEvent::SetLanguage (Language lang)
{
putenv (env);
#ifndef EMSCRIPTEN
extern int _nl_msg_cat_cntr;
++_nl_msg_cat_cntr;
#endif /* EMSCRIPTEN */
}
SDL_SetWindowTitle (g_window, gettext ("Planet Blupi"));