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

This commit is contained in:
Uwe Bonnes 2004-01-26 20:13:36 +00:00 committed by Alexandre Julliard
parent 7a513d2795
commit 347b7bbd51
1 changed files with 1 additions and 1 deletions

View File

@ -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;