From: David Levine Date: Sat, 4 May 2013 15:30:21 +0000 (-0500) Subject: Replaced hard-coded "more" with DEFAULT_PAGER in show_text(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6575724708ee258dd71cacf590c1230dedfbd003?ds=inline;hp=-c Replaced hard-coded "more" with DEFAULT_PAGER in show_text(). --- 6575724708ee258dd71cacf590c1230dedfbd003 diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index 60c4b837..c8c954dd 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -620,7 +620,7 @@ show_text (CT ct, int serial, int alternate) */ if (!alternate || ct->c_subtype == TEXT_PLAIN) { snprintf (buffer, sizeof(buffer), "%%p%s '%%F'", progsw ? progsw : - moreproc && *moreproc ? moreproc : "more"); + moreproc && *moreproc ? moreproc : DEFAULT_PAGER); cp = (ct->c_showproc = add (buffer, NULL)); return show_content_aux (ct, serial, alternate, cp, NULL); }