diff --git a/clibrary.c b/clibrary.c index 320da3c..8988fd5 100644 --- a/clibrary.c +++ b/clibrary.c @@ -239,6 +239,7 @@ void GenericPrintf(struct ParseState *Parser, struct Value *ReturnValue, struct if (*FPos == '%') { FPos++; + FieldWidth = 0; if (*FPos == '-') { /* a leading '-' means left justify */