moreproc will always be set in config/config.c, thus eliminated the ISTTY case.
[mmh] / uip / mhshowsbr.c
index e05dddf..c81cf92 100644 (file)
@@ -625,8 +625,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");
+                               progsw ? progsw : moreproc);
                cp = (ct->c_showproc = getcpy(buffer));
                return show_content_aux(ct, serial, alternate, cp, NULL);
        }