Bug fix by Jonathan Chung

This commit is contained in:
Simon Berg 2011-07-22 15:07:52 +02:00
parent 697af5ef08
commit 506eced1bc

View File

@ -282,6 +282,7 @@ format_str_v(const StrFormatContext *ctxt, const char *format, va_list ap)
if (*pos >= '0' && *pos <= '9') { if (*pos >= '0' && *pos <= '9') {
precision = parse_uint(&pos); precision = parse_uint(&pos);
} else if (*pos == '*') { } else if (*pos == '*') {
pos++;
precision = va_arg(ap,int); precision = va_arg(ap,int);
} }
} }