From 9848a6c529a01c82d913d48861d4ae6d114f1901 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 25 Oct 2011 20:34:13 +0000 Subject: [PATCH] - bugfix for windows compiling --- source/glest_game/global/lang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/global/lang.cpp b/source/glest_game/global/lang.cpp index 0d1b7a03..9ccff26a 100644 --- a/source/glest_game/global/lang.cpp +++ b/source/glest_game/global/lang.cpp @@ -117,7 +117,7 @@ void Lang::loadStrings(const string &language) { } if( lang.hasString("FONT_HEIGHT_TEXT_WINDOWS")) { - Font::langHeightText = config.getString("FONT_HEIGHT_TEXT_WINDOWS",Font::langHeightText.c_str()); + Font::langHeightText = lang.get("FONT_HEIGHT_TEXT_WINDOWS",Font::langHeightText.c_str()); } if( lang.hasString("FONT_CHARCOUNT_WINDOWS")) {