mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 16:08:51 -05:00
last fix was shit but this one works (tested)
This commit is contained in:
parent
50dc2d8112
commit
54de4afd75
@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
inline void init_gettext(const char *path) {
|
inline void init_gettext(const char *path) {
|
||||||
#if USE_GETTEXT
|
#if USE_GETTEXT
|
||||||
#if MSVC
|
// don't do this if MSVC compiler is used, it gives an assertion fail
|
||||||
#else
|
#ifndef _MSC_VER
|
||||||
setlocale(LC_MESSAGES, "");
|
setlocale(LC_MESSAGES, "");
|
||||||
#endif
|
#endif
|
||||||
bindtextdomain(PROJECT_NAME, path);
|
bindtextdomain(PROJECT_NAME, path);
|
||||||
|
Loading…
Reference in New Issue
Block a user