]> diplodocus.org Git - nmh/commitdiff
Replaced hard-coded "more" with DEFAULT_PAGER in show_text().
authorDavid Levine <levinedl@acm.org>
Sat, 4 May 2013 15:30:21 +0000 (10:30 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 4 May 2013 15:30:21 +0000 (10:30 -0500)
uip/mhshowsbr.c

index 60c4b8376f1f4c0e0d8817b796e222ac2d885420..c8c954dd1f9ee40afa3bd20f0be593f32a659137 100644 (file)
@@ -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);
     }