From f35599a6487a9e9f209f14907a03c878dcc94314 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Tue, 24 Aug 2010 17:54:01 +0100 Subject: use REGCOMP() macro --- curs_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'curs_lib.c') 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); -- cgit v1.2.3