From 064a669c923a0052f7d066ade22cd0c7e27602aa Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Fri, 23 May 2003 15:04:43 +0000 Subject: Sorry. Changed this while fixing the last bug and forgot to change it back. Unfortunately, none of my test cases caught it. --- libc/stdio/scanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio') 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; } -- cgit v1.2.3