diff --git a/lib/x11/ApplicationXlib.hpp b/lib/x11/ApplicationXlib.hpp index bbbe0cc..7ab1cde 100644 --- a/lib/x11/ApplicationXlib.hpp +++ b/lib/x11/ApplicationXlib.hpp @@ -303,11 +303,8 @@ public: return; } - if (setlocale(LC_ALL, "") == nullptr) - { - Log.report(logvisor::Fatal, "Can't setlocale"); - return; - } + /* Program is portable to all locales */ + setlocale(LC_ALL, ""); /* Open Xlib Display */ m_xDisp = XOpenDisplay(0);