1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-19 15:39:49 +00:00

Fix string corruption with Qt on linux-systems

This commit is contained in:
Nelsson Huotari 2021-01-18 19:21:02 +02:00
parent 6265081d08
commit 54ea8eb5c7

View file

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