X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/48348154aec21430802ec7a6c5928ca01ff2ad1e..1bcee936fd224aaaa41b2710414512ea400c79f0:/mansearch.c diff --git a/mansearch.c b/mansearch.c index 30e7768b..7f81b6ae 100644 --- a/mansearch.c +++ b/mansearch.c @@ -21,7 +21,9 @@ #include #include +#if HAVE_ERR #include +#endif #include #include #include @@ -658,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;