projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b0bbf6a
)
Rocco Rutte:
author
pdmef
<pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 18 May 2005 17:19:47 +0000
(17:19 +0000)
committer
pdmef
<pdmef@e385b8ad-14ed-0310-8656-cc95a2468c6d>
Wed, 18 May 2005 17:19:47 +0000
(17:19 +0000)
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
curs_lib.c
patch
|
blob
|
history
diff --git
a/curs_lib.c
b/curs_lib.c
index
d987b51
..
dc53a27
100644
(file)
--- a/
curs_lib.c
+++ b/
curs_lib.c
@@
-238,7
+238,7
@@
int mutt_yesorno (const char *msg, int def)
#else
if (
#endif
- (tolower (ch.ch) ==
'y'
)) {
+ (tolower (ch.ch) ==
*yes
)) {
def = M_YES;
break;
}
@@
-246,7
+246,7
@@
int mutt_yesorno (const char *msg, int def)
#ifdef HAVE_LANGINFO_YESEXPR
reno_ok ? (regexec (&reno, answer, 0, 0, 0) == 0) :
#endif
- (tolower (ch.ch) ==
'n'
)) {
+ (tolower (ch.ch) ==
*no
)) {
def = M_NO;
break;
}