Make setlocale fail non-fatal

This commit is contained in:
Jack Andersen 2016-09-25 11:33:39 -10:00
parent 9b0355be45
commit 10988fa37e
1 changed files with 2 additions and 5 deletions

View File

@ -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);