mirror of https://github.com/AxioDL/boo.git
Make setlocale fail non-fatal
This commit is contained in:
parent
9b0355be45
commit
10988fa37e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue