mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +00:00
Fix string corruption with Qt on linux-systems
This commit is contained in:
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…
x
Reference in New Issue
Block a user