Apply r58698 here as well

svn path=/trunk/; revision=58700
This commit is contained in:
Pierre Schweitzer 2013-04-06 23:14:29 +00:00
parent fc5a3bdf72
commit 33a4bc0181

View file

@ -322,7 +322,7 @@ static BOOL update_threadlocinfo_category(LCID lcid, unsigned short cp,
len += GetLocaleInfoA(lcid, LOCALE_SENGCOUNTRY
|LOCALE_NOUSEROVERRIDE, &buf[len], 256-len);
buf[len-1] = '.';
sprintf(buf+len, "%d", cp);
sprintf(buf+len, "%u", cp);
len += strlen(buf+len)+1;
loc->locinfo->lc_category[category].locale = MSVCRT_malloc(len);