mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 16:08:51 -05:00
fixe for msvc broke linux
This commit is contained in:
parent
3c0090c0df
commit
50dc2d8112
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
inline void init_gettext(const char *path) {
|
inline void init_gettext(const char *path) {
|
||||||
#if USE_GETTEXT
|
#if USE_GETTEXT
|
||||||
|
#if MSVC
|
||||||
|
#else
|
||||||
|
setlocale(LC_MESSAGES, "");
|
||||||
|
#endif
|
||||||
bindtextdomain(PROJECT_NAME, path);
|
bindtextdomain(PROJECT_NAME, path);
|
||||||
textdomain(PROJECT_NAME);
|
textdomain(PROJECT_NAME);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user