mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
Fix out of bounds assign in Sys_InitGame (#444)
* Fix out of bounds assign in Sys_InitGame.
This commit is contained in:
parent
c895428d1d
commit
4da6a09875
@ -524,10 +524,7 @@ int Sys_InitGame(char *lpOrgCmdLine, char *pBaseDir, void *pwnd, int bIsDedicate
|
||||
ClientDLL_ActivateMouse();
|
||||
|
||||
char MessageText[512];
|
||||
const char en_US[12];
|
||||
|
||||
Q_strcpy(en_US, "en_US.UTF-8");
|
||||
en_US[16] = 0;
|
||||
const char en_US[] = "en_US.UTF-8";
|
||||
|
||||
char *cat = setlocale(6, NULL);
|
||||
if (!cat)
|
||||
|
Loading…
Reference in New Issue
Block a user