projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc5a3bd
)
[CRT]
author
Pierre Schweitzer
<pierre@reactos.org>
Sat, 6 Apr 2013 23:14:29 +0000
(23:14 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sat, 6 Apr 2013 23:14:29 +0000
(23:14 +0000)
Apply r58698 here as well
svn path=/trunk/; revision=58700
reactos/lib/sdk/crt/locale/locale.c
patch
|
blob
|
history
diff --git
a/reactos/lib/sdk/crt/locale/locale.c
b/reactos/lib/sdk/crt/locale/locale.c
index
02b8c6c
..
5384360
100644
(file)
--- a/
reactos/lib/sdk/crt/locale/locale.c
+++ b/
reactos/lib/sdk/crt/locale/locale.c
@@
-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);