fix yes/no queries for non C-locales on systems without nl_langinfo(YESEXPR) (reported by Felix Meinhold ,-)
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@296
e385b8ad-14ed-0310-8656-
cc95a2468c6d
- (tolower (ch.ch) == 'y')) {
+ (tolower (ch.ch) == *yes)) {
#ifdef HAVE_LANGINFO_YESEXPR
reno_ok ? (regexec (&reno, answer, 0, 0, 0) == 0) :
#endif
#ifdef HAVE_LANGINFO_YESEXPR
reno_ok ? (regexec (&reno, answer, 0, 0, 0) == 0) :
#endif
- (tolower (ch.ch) == 'n')) {
+ (tolower (ch.ch) == *no)) {