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