]> diplodocus.org Git - nmh/blobdiff - sbr/gans.c
Now only display text and inline content by default.
[nmh] / sbr / gans.c
index 6b76b7ba0a050b2a99fe93a1a0fbafc4c28f048e..70234029ed9720754da058ef20f894ef04438dda 100644 (file)
@@ -26,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;
            }
        }