Commit ccedb5c0 ccedb5c048ca80973e516f67b432bf664d6aa33c by Sergey Poznyakoff

Minor fix

1 parent e0835c15
Showing 1 changed file with 6 additions and 3 deletions
......@@ -148,9 +148,12 @@ open_output ()
{
int rc;
stream_t output;
if (interactive && !moreproc && !nomoreproc)
moreproc = mh_global_profile_get ("moreproc", getenv ("PAGER"));
if (interactive && !nomoreproc)
{
if (!moreproc)
moreproc = mh_global_profile_get ("moreproc", getenv ("PAGER"));
}
else
moreproc = NULL;
......