/*
* 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.
*/
#include <h/mh.h>
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;
}
}