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:
parent
4dddde3562
commit
c2756d8a79
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user