summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2010-08-24 17:54:01 +0100
committerEmanuele Giaquinta <e.giaquinta@glauco.it>2010-08-24 17:54:01 +0100
commitf35599a6487a9e9f209f14907a03c878dcc94314 (patch)
treef0d04756d8ceaf73bb2603ebdd18e3e077193599 /curs_lib.c
parent3f5d475c5229acc03a7b96e789f1d0763f0635d8 (diff)
use REGCOMP() macro
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 5efd36ee..7f88cc93 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -207,9 +207,9 @@ int mutt_yesorno (const char *msg, int def)
answer[1] = 0;
reyes_ok = (expr = nl_langinfo (YESEXPR)) && expr[0] == '^' &&
- !regcomp (&reyes, expr, REG_NOSUB|REG_EXTENDED);
+ !REGCOMP (&reyes, expr, REG_NOSUB);
reno_ok = (expr = nl_langinfo (NOEXPR)) && expr[0] == '^' &&
- !regcomp (&reno, expr, REG_NOSUB|REG_EXTENDED);
+ !REGCOMP (&reno, expr, REG_NOSUB);
#endif
CLEARLINE(LINES-1);