Move the setlocale call to the very top.

This change shouldn't affect the behavior at all, because the code in
between does not do MB<->WC string conversion.
This commit is contained in:
Ryan Prichard 2016-03-24 16:32:21 -05:00
parent 4dddde3562
commit c2756d8a79

View File

@ -338,12 +338,13 @@ static void parseArguments(int argc, char *argv[], Arguments &out)
int main(int argc, char *argv[])
{
setlocale(LC_ALL, "");
g_mainWakeup = new WakeupFd();
Arguments args;
parseArguments(argc, argv, args);
setlocale(LC_ALL, "");
setupWin32Environment();
winsize sz;