1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-16 06:15:06 -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 // Create user data directory
fs::CreateDir(porting::path_userdata); fs::CreateDir(porting::path_userdata);
setlocale(LC_ALL, ""); setlocale(LC_MESSAGES, "");
bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str()); bindtextdomain("minetest-c55", (porting::path_userdata+"/locale").c_str());
textdomain("minetest-c55"); textdomain("minetest-c55");