Fix for printf formatting problem when multiple fields with field
widths were used. Issue #172 git-svn-id: http://picoc.googlecode.com/svn/trunk@584 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
9ec50b6e49
commit
a8891aa743
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue