summaryrefslogtreecommitdiffstats
path: root/mansearch.c
diff options
context:
space:
mode:
Diffstat (limited to 'mansearch.c')
-rw-r--r--mansearch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c
index 6e689bd3..7f81b6ae 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -660,6 +660,7 @@ exprterm(const struct mansearch *search, int argc, char *argv[], int *argi)
* If needed, request regular expression handling.
*/
+ cs = 1;
if (search->argmode == ARG_WORD) {
e->bits = TYPE_Nm;
e->match.type = DBM_REGEX;