diff --git a/libc/stdio/vcscanf.c b/libc/stdio/vcscanf.c index b2bcc1b9c..ec88a0e0b 100644 --- a/libc/stdio/vcscanf.c +++ b/libc/stdio/vcscanf.c @@ -364,6 +364,9 @@ int __vcscanf(int callback(void *), // goto Done; } } while ((c = BUFFER) != -1 && c != ')'); + if (c == ')') { + c = BUFFER; + } fp = strtod((char *) buf, NULL); goto GotFloatingPointNumber; } else {