Fixed translation bug in about and campaign chooser.

This commit is contained in:
John W. C. McNabb 2006-03-25 16:17:37 +00:00
parent fc88150432
commit 30df2a8e78

View file

@ -1647,19 +1647,17 @@ int play_game(int argc, char** argv)
return 0;
}
#ifdef WIN32
res = game.init_config();
if(res == false) {
std::cerr << "could not initialize game config\n";
return 0;
}
#endif
res = game.init_language();
if(res == false) {
std::cerr << "could not initialize the language\n";
return 0;
}
res = game.init_config();
if(res == false) {
std::cerr << "could not initialize game config\n";
return 0;
}
res = font::load_font_config();
if(res == false) {
@ -1667,16 +1665,6 @@ int play_game(int argc, char** argv)
return 0;
}
#ifndef WIN32
// it is better for gettext-native platforms to read the config
// files after having pre-initialized the language, maybe...
res = game.init_config();
if(res == false) {
std::cerr << "could not initialize game config\n";
return 0;
}
#endif
const cursor::manager cursor_manager;
#if defined(_X11) && !defined(__APPLE__)
SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);