Skip to content

Commit

Permalink
Fix for printf formatting problem when multiple fields with field
Browse files Browse the repository at this point in the history
widths were used.
Issue #172
  • Loading branch information
zik.saleeba committed Jan 14, 2013
1 parent 53c5153 commit 9243ef3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clibrary.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9243ef3

Please sign in to comment.