last fix was shit but this one works (tested)
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