mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 07:35:41 +00:00
Fix language initialization call order
This commit is contained in:
parent
91902a031e
commit
0f5893ed60
1 changed files with 3 additions and 3 deletions
|
@ -1231,15 +1231,15 @@ void InitialiseLanguage()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TheText.Unload();
|
|
||||||
TheText.Load();
|
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
// TODO this is needed for strcasecmp to work correctly across all languages, but can these cause other problems??
|
// TODO this is needed for strcasecmp to work correctly across all languages, but can these cause other problems??
|
||||||
setlocale(LC_CTYPE, "C");
|
setlocale(LC_CTYPE, "C");
|
||||||
setlocale(LC_COLLATE, "C");
|
setlocale(LC_COLLATE, "C");
|
||||||
setlocale(LC_NUMERIC, "C");
|
setlocale(LC_NUMERIC, "C");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
TheText.Unload();
|
||||||
|
TheText.Load();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue