projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly init the screen on startup with the stored configuration values
[supertux.git]
/
src
/
lisp
/
parser.cpp
diff --git
a/src/lisp/parser.cpp
b/src/lisp/parser.cpp
index
52e87b2
..
a558adc
100644
(file)
--- a/
src/lisp/parser.cpp
+++ b/
src/lisp/parser.cpp
@@
-30,6
+30,8
@@
#include "lisp.hpp"
#include "obstack/obstackpp.hpp"
#include "lisp.hpp"
#include "obstack/obstackpp.hpp"
+#include "gameconfig.hpp"
+
namespace lisp
{
namespace lisp
{
@@
-39,6
+41,7
@@
Parser::Parser(bool translate)
if(translate) {
dictionary_manager = new TinyGetText::DictionaryManager();
dictionary_manager->set_charset("UTF-8");
if(translate) {
dictionary_manager = new TinyGetText::DictionaryManager();
dictionary_manager->set_charset("UTF-8");
+ if (config && (config->locale != "")) dictionary_manager->set_language(config->locale);
}
obstack_init(&obst);
}
obstack_init(&obst);