mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
minor bugfix: sswprintf(L"%hs","foo") was returning L"fff"
svn path=/trunk/; revision=20712
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user