summaryrefslogtreecommitdiffstats
path: root/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'pager.c')
-rw-r--r--pager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pager.c b/pager.c
index 944059c8..889ef32d 100644
--- a/pager.c
+++ b/pager.c
@@ -1903,7 +1903,8 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra)
/* update the search pointers */
i = 0;
while (display_line (fp, &last_pos, &lineInfo, i, &lastLine,
- &maxLine, M_SEARCH, &QuoteList, &q_level,
+ &maxLine, M_SEARCH | (flags & M_PAGER_NSKIP),
+ &QuoteList, &q_level,
&force_redraw, &SearchRE) == 0)
i++;