forked from Mirrorlandia_minetest/minetest
parent
1fe4256462
commit
d1d5618bb8
@ -236,9 +236,9 @@ void init_gettext(const char *path, const std::string &configured_language) {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char *name = lowercase(PROJECT_NAME).c_str();
|
static std::string name = lowercase(PROJECT_NAME);
|
||||||
bindtextdomain(name, path);
|
bindtextdomain(name.c_str(), path);
|
||||||
textdomain(name);
|
textdomain(name.c_str());
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
// Set character encoding for Win32
|
// Set character encoding for Win32
|
||||||
|
Loading…
Reference in New Issue
Block a user