Author: grzywacz
Date: Tue Jun 23 23:26:06 2009
New Revision: 36378

URL: http://svn.gna.org/viewcvs/wesnoth?rev=36378&view=rev
Log:
fix bug #13756 - Start of Wesnoth show SDL_app for a second in window title.

Modified:
    trunk/src/game.cpp

Modified: trunk/src/game.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=36378&r1=36377&r2=36378&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Tue Jun 23 23:26:06 2009
@@ -1900,6 +1900,12 @@
                return 0;
        }
 
+       res = game.init_language();
+       if(res == false) {
+               std::cerr << "could not initialize the language\n";
+               return 0;
+       }
+
        res = game.init_video();
        if(res == false) {
                std::cerr << "could not initialize display\n";
@@ -1910,12 +1916,6 @@
        cursor::set(cursor::WAIT);
 
        gui2::init();
-
-       res = game.init_language();
-       if(res == false) {
-               std::cerr << "could not initialize the language\n";
-               return 0;
-       }
 
        loadscreen::global_loadscreen_manager 
loadscreen_manager(game.disp().video());
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to