1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 16:08:51 -05: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 d78e5e7329
commit a09660dc85

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");