mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Merge pull request #44 from SpeedProg/master
last fix was shit, so a fix for the fix -_-
This commit is contained in:
commit
831003156c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue