summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index cf0b53c8..51ffbf3e 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -205,7 +205,7 @@ int otr_main(int argc, char** argv, std::function<QWidget*()> make_main_window)
QTranslator t;
{
- const char* forced_locale = getenv("OTR_FORCE_LOCALE");
+ const char* forced_locale = getenv("OTR_FORCE_LANG");
if (forced_locale)
{