Fix string corruption with Qt on linux-systems

pull/593/head
Nelsson Huotari 4 years ago
parent 6265081d08
commit 54ea8eb5c7

@ -63,6 +63,9 @@ int runApplication(int argc, char *argv[])
application.setWindowIcon (QIcon (":./openmw-cs.png")); application.setWindowIcon (QIcon (":./openmw-cs.png"));
CS::Editor editor(argc, argv); CS::Editor editor(argc, argv);
#ifdef __linux__
setlocale(LC_NUMERIC,"C");
#endif
if(!editor.makeIPCServer()) if(!editor.makeIPCServer())
{ {

Loading…
Cancel
Save