diff options
Diffstat (limited to 'lib/lib.c')
-rw-r--r-- | lib/lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -975,6 +975,7 @@ int yesno(char *prompt, int def) while (fread(&buf, 1, 1, stdin)) { int new; + // The letter changes the value, the newline (or space) returns it. if (isspace(buf)) break; if (-1 != (new = stridx("ny", tolower(buf)))) def = new; } |