Adding same bug fix as 20303 to vfprintf.c it did have same problem. thx for GvG bugfix.
Modified: trunk/reactos/lib/crt/stdio/vfprintf.c
--- trunk/reactos/lib/crt/stdio/vfprintf.c 2005-12-25 02:05:50 UTC (rev 20325) +++ trunk/reactos/lib/crt/stdio/vfprintf.c 2005-12-25 02:55:18 UTC (rev 20326) @@ -367,13 +367,20 @@
} tmp = buf;
+
if ( type & ZEROTRUNC && ((type & SPECIAL) != SPECIAL) ) { j = 0;
- while ( j < i && ( *tmp == '0' || *tmp == '.' )) {
+ while ( j < i && *tmp == L'0' ) {
tmp++; i--; }
+ if ( j < i && *tmp == L'.' ) { + tmp++; + i--; + }
}
+ +
// else // while (i < precision--) // putc('0', f);