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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (setlocale(LC_ALL, "") == nullptr)
|
/* Program is portable to all locales */
|
||||||
{
|
setlocale(LC_ALL, "");
|
||||||
Log.report(logvisor::Fatal, "Can't setlocale");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Open Xlib Display */
|
/* Open Xlib Display */
|
||||||
m_xDisp = XOpenDisplay(0);
|
m_xDisp = XOpenDisplay(0);
|
||||||
|
|
Loading…
Reference in New Issue