This commit is contained in:
Enno Rehling 2010-06-08 21:46:19 -07:00
parent 9cc2814fb0
commit e8a77607b4
1 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,6 @@ parse_args(int argc, char **argv, int *exitcode)
}
if (run_tests) {
init_resources();
*exitcode = RunAllTests();
return 1;
}
@ -247,8 +246,6 @@ int main(int argc, char ** argv)
setup_signal_handler();
log_open("eressea.log");
locale_init();
parse_config(inifile);
err = parse_args(argc, argv, &result);
@ -256,6 +253,9 @@ int main(int argc, char ** argv)
return result;
}
log_open("eressea.log");
locale_init();
#ifdef CRTDBG
init_crtdbg();
#endif