diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-19 00:04:21 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-19 00:04:21 +0200 |
commit | 4a639cf543c15d45a37674d7eadaf09c23c2203d (patch) | |
tree | 1bfd6237384cc700d5e427ce71fa8e54cb3ccd36 /src/app/app.cpp | |
parent | 7bce8f073c9212247d104266d417e46e884b72c2 (diff) | |
download | colobot-4a639cf543c15d45a37674d7eadaf09c23c2203d.tar.gz colobot-4a639cf543c15d45a37674d7eadaf09c23c2203d.tar.bz2 colobot-4a639cf543c15d45a37674d7eadaf09c23c2203d.zip |
Fixed includes in ui.
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r-- | src/app/app.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp index ab02b11..5567e42 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -261,6 +261,7 @@ bool CApplication::Create() /* Gettext initialization */ + m_locale = "LANGUAGE="; std::string locale = "C"; switch (m_language) { @@ -281,7 +282,8 @@ bool CApplication::Create() break; } - setenv("LANGUAGE", locale.c_str(), 1); + m_locale += locale; + putenv(m_locale.c_str()); setlocale(LC_ALL, locale.c_str()); std::string trPath = m_dataPath + std::string("/i18n"); |