OSDN Git Service

2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / stdio / vfscanf.c
index 61a901e..fd9ca0a 100644 (file)
@@ -931,8 +931,8 @@ __svfscanf_r (rptr, fp, fmt0, ap)
              break;
            fok:
              *p++ = c;
-             width--;
            fskip:
+             width--;
               ++nread;
              if (--fp->_r > 0)
                fp->_p++;