# HG changeset patch # User Matti Hamalainen # Date 1457005511 -7200 # Node ID 0e5511015bd2884a2b9ced4cb5afb65ebc4ffd37 # Parent 3f878ae15050ff60d345b6130f401697b7e6b15f 10L. diff -r 3f878ae15050 -r 0e5511015bd2 th_string.c --- a/th_string.c Thu Mar 03 13:44:25 2016 +0200 +++ b/th_string.c Thu Mar 03 13:45:11 2016 +0200 @@ -413,6 +413,7 @@ // Get field width if (*fmt == '*') { + fmt++; f_width = va_arg(ap, int); if (f_width < 0) { @@ -432,6 +433,7 @@ fmt++; if (*fmt == '*') { + fmt++; f_prec = va_arg(ap, int); } else