leading space fix

This commit is contained in:
Alexander S. Aganichev
2001-03-05 22:45:58 +00:00
parent eb281a259f
commit 245e2e103d
2 changed files with 3 additions and 1 deletions

View File

@@ -166,7 +166,7 @@ static void strfmt(char *str, const char *fmt, ...) {
ival = va_arg(vp, int);
bool padding = true;
while(ilen) {
ival %= pow[ilen] / pow[ilen-1];
ival = (ival % pow[ilen]) / pow[ilen-1];
if(ival)
padding = false;
if(--ilen and padding)