vcscanf: buffer the last 'y' of "infinity"

I don't know why I thought this wasn't necessary.
This commit is contained in:
Matheus Afonso Martins Moreira 2023-11-02 20:34:04 -03:00
parent ded97bf5af
commit c78ae967f8

View file

@ -391,6 +391,7 @@ int __vcscanf(int callback(void *), //
if (c == 't' || c == 'T') {
c = BUFFER;
if (c == 'y' || c == 'Y') {
c = BUFFER;
} else {
goto Done;
}