mirror of
https://github.com/reactos/reactos.git
synced 2024-08-14 07:06:23 +00:00
[CRT]
Apply r58698 here as well svn path=/trunk/; revision=58700
This commit is contained in:
parent
fc5a3bdf72
commit
33a4bc0181
|
@ -322,7 +322,7 @@ static BOOL update_threadlocinfo_category(LCID lcid, unsigned short cp,
|
||||||
len += GetLocaleInfoA(lcid, LOCALE_SENGCOUNTRY
|
len += GetLocaleInfoA(lcid, LOCALE_SENGCOUNTRY
|
||||||
|LOCALE_NOUSEROVERRIDE, &buf[len], 256-len);
|
|LOCALE_NOUSEROVERRIDE, &buf[len], 256-len);
|
||||||
buf[len-1] = '.';
|
buf[len-1] = '.';
|
||||||
sprintf(buf+len, "%d", cp);
|
sprintf(buf+len, "%u", cp);
|
||||||
len += strlen(buf+len)+1;
|
len += strlen(buf+len)+1;
|
||||||
|
|
||||||
loc->locinfo->lc_category[category].locale = MSVCRT_malloc(len);
|
loc->locinfo->lc_category[category].locale = MSVCRT_malloc(len);
|
||||||
|
|
Loading…
Reference in a new issue