mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
[INPUT]
Fix buffer overrun CID #716118 svn path=/trunk/; revision=62655
This commit is contained in:
parent
abab3274cd
commit
360df6d05d
|
@ -221,7 +221,7 @@ LanguagesEnumProc(LPTSTR lpLanguage)
|
|||
|
||||
Lcid = _tcstoul(lpLanguage, NULL, 16);
|
||||
|
||||
GetLocaleInfo(Lcid, LOCALE_SLANGUAGE, Lang, sizeof(Lang));
|
||||
GetLocaleInfo(Lcid, LOCALE_SLANGUAGE, Lang, sizeof(Lang) / sizeof(Lang[0]));
|
||||
Index = (INT)SendMessage(hLangList, CB_ADDSTRING,
|
||||
0, (LPARAM)Lang);
|
||||
|
||||
|
|
Loading…
Reference in a new issue