X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6f2d14d9c38345075629af3487c2de491584ca1..11f980e2651f72e75b9c19187a90ed3494c12ea4:/sbr/read_switch.c diff --git a/sbr/read_switch.c b/sbr/read_switch.c index dcc14b78..bb24dd4c 100644 --- a/sbr/read_switch.c +++ b/sbr/read_switch.c @@ -26,7 +26,7 @@ read_switch (const char *prompt, const struct swit *ansp) if (i == EOF) return 0; if (cp < &ansbuf[sizeof ansbuf - 1]) { - i = (isalpha(i) && isupper(i)) ? tolower(i) : i; + i = tolower(i); *cp++ = i; } }