From 885fc7e8591ad89e1e92daae7e86b95fc4ee56f2 Mon Sep 17 00:00:00 2001
From: Benny Baumann <BenBE@geshi.org>
Date: Sun, 29 Sep 2019 20:10:19 +0200
Subject: [PATCH] fix: Actually update the locale instead of simply querying
 the current one.

Difference lies in "" (set according to environment) vs. NULL (simply query the current one).
---
 src/app/rmrf.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/rmrf.cpp b/src/app/rmrf.cpp
index 80f14df..dab95c6 100644
--- a/src/app/rmrf.cpp
+++ b/src/app/rmrf.cpp
@@ -10,8 +10,8 @@
 int main() {
     using rmrf::ui::display;
 
-    setlocale(LC_ALL, NULL);
-    bindtextdomain("rmrf", "/usr/share/locale/");
+    setlocale(LC_ALL, "");
+    bindtextdomain("rmrf", "/usr/share/locale");
     textdomain("rmrf");
 
     auto h_nc = std::make_shared<display>();
-- 
GitLab