locale bugfix

metadata
Wenzel Jakob 2010-08-13 17:16:42 +02:00
parent f0a2e2436e
commit 6895a556ec
1 changed files with 4 additions and 4 deletions

View File

@ -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();