1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

fixed problem with displaying special chars

This commit is contained in:
Constantin Wenger 2011-07-22 12:54:07 +02:00 committed by Giuseppe Bilotta
parent aaa165f985
commit bf3dfec7d6

View file

@ -1132,7 +1132,7 @@ int main(int argc, char *argv[])
// Create user data directory
fs::CreateDir(porting::path_userdata);
setlocale(LC_ALL, "");
setlocale(LC_MESSAGES, "");
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
textdomain("minetest-c55");