mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
fixing one more of wine msvcrt printf test
svn path=/trunk/; revision=22219
This commit is contained in:
parent
0c13f30550
commit
b2c2d86a42
|
@ -122,7 +122,7 @@ number(char * buf, char * end, long long num, int base, int size, int precision,
|
|||
size--;
|
||||
}
|
||||
i = 0;
|
||||
if (num == 0)
|
||||
if ((num == 0) && (precision !=0))
|
||||
tmp[i++] = '0';
|
||||
else while (num != 0)
|
||||
tmp[i++] = digits[do_div(&num,base)];
|
||||
|
|
|
@ -122,7 +122,7 @@ number(wchar_t * buf, wchar_t * end, long long num, int base, int size, int prec
|
|||
size--;
|
||||
}
|
||||
i = 0;
|
||||
if (num == 0)
|
||||
if ((num == 0) && (precision !=0))
|
||||
tmp[i++] = L'0';
|
||||
else while (num != 0)
|
||||
tmp[i++] = digits[do_div(&num,base)];
|
||||
|
|
Loading…
Reference in a new issue