This has the minor cleanups Alex suggested. The first removes the accidental cast left in when I refactored the code into a function.
The second patch removes the if/else clause around the reallocation. Kevin J. McCarthy (2): Fix pager search behavior with REG_NEWLINE. Simplify resolve_search() reallocation for search matches. pager.c | 68 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 25 deletions(-) -- 2.54.0
