diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-05-23 15:04:43 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-05-23 15:04:43 +0000 |
commit | 064a669c923a0052f7d066ade22cd0c7e27602aa (patch) | |
tree | a93cd2c2c4a1208d2b89d7e1a362efcfa85b3d18 /libc/stdio | |
parent | 9389fe19a3ab19e3c15cb3e370f5ae2f8380484a (diff) |
Sorry. Changed this while fixing the last bug and forgot to change it
back. Unfortunately, none of my test cases caught it.
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/scanf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c index 4fbf1cdfa..48d53c7f3 100644 --- a/libc/stdio/scanf.c +++ b/libc/stdio/scanf.c @@ -350,7 +350,7 @@ int vfscanf(FILE *fp, const char *format, va_list ap) if (p-spec < 5) { /* [,c,s - string conversions */ invert = 0; if (*p == 'c') { - invert = 0; + invert = 1; if (sc.width == INT_MAX) { sc.width = 1; } |