X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..03e76aecdf671ca13b5912af8206e9bdcb6c0919:/sbr/gans.c diff --git a/sbr/gans.c b/sbr/gans.c index c0804cde..70234029 100644 --- a/sbr/gans.c +++ b/sbr/gans.c @@ -2,8 +2,6 @@ /* * gans.c -- get an answer from the user * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -28,12 +26,7 @@ gans (char *prompt, struct swit *ansp) if (i == EOF) return 0; if (cp < &ansbuf[sizeof ansbuf - 1]) { -#ifdef LOCALE i = (isalpha(i) && isupper(i)) ? tolower(i) : i; -#else - if (i >= 'A' && i <= 'Z') - i += 'a' - 'A'; -#endif *cp++ = i; } }