Commit 347b7bbd authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Small fix for the WPR_SIGNED case (count the sign).

parent 7a513d27
......@@ -368,7 +368,7 @@ static INT16 wvsnprintf16( LPSTR buffer, UINT16 maxlen, LPCSTR spec, VA_LIST16 a
case WPR_UNSIGNED:
for (i = len; i < format.precision; i++, maxlen--) *p++ = '0';
if (len > sign) memcpy( p, number + sign, len - sign );
p += len;
p += len-sign;
break;
case WPR_UNKNOWN:
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment