locale bugfix
parent
f0a2e2436e
commit
6895a556ec
|
@ -128,10 +128,6 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#if !defined(WIN32)
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
#endif
|
||||
|
||||
#if !defined(WIN32)
|
||||
/* Avoid zombies processes when running the server */
|
||||
struct sigaction sa;
|
||||
|
@ -177,6 +173,10 @@ int main(int argc, char *argv[]) {
|
|||
logger->addAppender(new StreamAppender(formatString("mitsuba.%s.log", getHostName().c_str())));
|
||||
#endif
|
||||
|
||||
#if !defined(WIN32)
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
#endif
|
||||
|
||||
mainWindow = new MainWindow();
|
||||
mainWindow->initWorkers();
|
||||
retval = app.exec();
|
||||
|
|
Loading…
Reference in New Issue