minor bugfix: sswprintf(L"%hs","foo") was returning L"fff"
Modified: trunk/reactos/tools/ssprintf.cpp
_____
Modified: trunk/reactos/tools/ssprintf.cpp
--- trunk/reactos/tools/ssprintf.cpp 2006-01-08 12:55:06 UTC (rev
20711)
+++ trunk/reactos/tools/ssprintf.cpp 2006-01-08 13:54:06 UTC (rev
20712)
@@ -1263,7 +1263,7 @@
{
wchar_t w;
int mbcount;
- mbcount = mbtowc(&w, sa, len-i);
+ mbcount = mbtowc(&w, sa+i, len-i);
if (mbcount <= 0)
break;
f += w;
Show replies by date