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

@ -12,6 +12,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, March xx 2001
______________________________________________________________________
- Fixed leading space macroses in date/time format strings.
- Fixed double recoding of header during forward, quote-reply, and
change.

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)