2
0
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:
In-line 2017-04-26 17:44:18 +04:00 committed by Lev
parent c895428d1d
commit 4da6a09875

View File

@ -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)