mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Fix nul stripping and get GreatLord of my back ;-)
svn path=/trunk/; revision=20303
This commit is contained in:
parent
e2b8d4b568
commit
09b5023d6f
1 changed files with 5 additions and 1 deletions
|
@ -368,7 +368,11 @@ static int numberf(FILE * f, double __n, wchar_t exp_sign, int size, int precis
|
|||
tmp = buf;
|
||||
if ( type & ZEROTRUNC && ((type & SPECIAL) != SPECIAL) ) {
|
||||
j = 0;
|
||||
while ( j < i && ( *tmp == L'0' || *tmp == L'.' )) {
|
||||
while ( j < i && *tmp == L'0' ) {
|
||||
tmp++;
|
||||
i--;
|
||||
}
|
||||
if ( j < i && *tmp == L'.' ) {
|
||||
tmp++;
|
||||
i--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue