leading space fix
This commit is contained in:
parent
eb281a259f
commit
245e2e103d
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user