LibC: Make scanf() not increment the assignment count for %n

This commit is contained in:
Gunnar Beutner 2021-05-06 20:23:25 +02:00 committed by Andreas Kling
parent f142b43e89
commit 0615a4d42a
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00

View file

@ -612,7 +612,6 @@ extern "C" int vsscanf(const char* input, const char* format, va_list ap)
auto* ptr = va_arg(ap, int*);
*ptr = input_lexer.tell();
}
++elements_matched;
break;
}
}