Added new tests
[pspp] / src / ascii.c
index c6f48f00254584f59eaab6187cc09d7ab13966bc..06addff506fe6e447548695f20410f2e41341f6e 100644 (file)
@@ -469,7 +469,6 @@ ascii_option (struct outp_driver *this, const char *key,
     }
 
   cat = outp_match_keyword (key, option_tab, &option_info, &subcat);
-
   switch (cat)
     {
     case 0:
@@ -1580,7 +1579,8 @@ ascii_close_page (struct outp_driver *this)
       cp += nl_len;
     }
   memcpy (cp, ls_value (&x->ops[OPS_FORMFEED]), ff_len);
-  output_string (this, s, &s[total_len]);
+  if ( x->paginate ) 
+         output_string (this, s, &s[total_len]);
   if (line_p != line_buf && !commit_line_buf (this))
     return 0;