projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a1902
)
minor bugfix: sswprintf(L"%hs","foo") was returning L"fff"
author
Royce Mitchell III
<royce3@ev1.net>
Sun, 8 Jan 2006 13:54:06 +0000
(13:54 +0000)
committer
Royce Mitchell III
<royce3@ev1.net>
Sun, 8 Jan 2006 13:54:06 +0000
(13:54 +0000)
svn path=/trunk/; revision=20712
reactos/tools/ssprintf.cpp
patch
|
blob
|
history
diff --git
a/reactos/tools/ssprintf.cpp
b/reactos/tools/ssprintf.cpp
index
efac460
..
2eafcf6
100644
(file)
--- a/
reactos/tools/ssprintf.cpp
+++ b/
reactos/tools/ssprintf.cpp
@@
-1263,7
+1263,7
@@
wstringa(std::wstring& f, const char* sa, int len, int field_width, int precisio
{
wchar_t w;
int mbcount;
- mbcount = mbtowc(&w, sa, len-i);
+ mbcount = mbtowc(&w, sa
+i
, len-i);
if (mbcount <= 0)
break;
f += w;