Author: mordante
Date: Thu May 21 18:49:40 2009
New Revision: 35796
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35796&view=rev
Log:
Properly load the language definitions.
Modified:
trunk/src/tests/gui/test_gui2.cpp
Modified: trunk/src/tests/gui/test_gui2.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/gui/test_gui2.cpp?rev=35796&r1=35795&r2=35796&view=diff
==============================================================================
--- trunk/src/tests/gui/test_gui2.cpp (original)
+++ trunk/src/tests/gui/test_gui2.cpp Thu May 21 18:49:40 2009
@@ -42,6 +42,7 @@
#include "gui/dialogs/wml_message.hpp"
#include "gui/widgets/helper.hpp"
#include "gui/widgets/settings.hpp"
+#include "language.hpp"
#include "map_create.hpp"
#include "tests/utils/fake_display.hpp"
#include "video.hpp"
@@ -186,6 +187,8 @@
const binary_paths_manager bin_paths_manager(main_config);
+ load_language_list();
+
{
const config &cfg = main_config.child("game_config");
game_config::load_config(cfg ? &cfg : NULL);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits