pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/output ChangeLog output.c


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/output ChangeLog output.c
Date: Sun, 14 May 2006 21:05:13 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Branch:         
Changes by:     Ben Pfaff <address@hidden>      06/05/14 21:05:13

Modified files:
        src/output     : ChangeLog output.c 

Log message:
        (outp_eject_page): Always make sure that a page is open upon return.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/ChangeLog.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/output/output.c.diff?tr1=1.11&tr2=1.12&r1=text&r2=text

Patches:
Index: pspp/src/output/ChangeLog
diff -u pspp/src/output/ChangeLog:1.8 pspp/src/output/ChangeLog:1.9
--- pspp/src/output/ChangeLog:1.8       Sun May 14 20:56:44 2006
+++ pspp/src/output/ChangeLog   Sun May 14 21:05:13 2006
@@ -1,3 +1,8 @@
+Sun May 14 14:03:56 2006  Ben Pfaff  <address@hidden>
+
+       * output.c (outp_eject_page): Always make sure that a page is open
+       upon return.
+
 Sun May 14 13:54:58 2006  Ben Pfaff  <address@hidden>
 
        * postscript.c: (ps_chart_finalise) Fix format of %%EndDocument
Index: pspp/src/output/output.c
diff -u pspp/src/output/output.c:1.11 pspp/src/output/output.c:1.12
--- pspp/src/output/output.c:1.11       Mon Apr 17 01:30:22 2006
+++ pspp/src/output/output.c    Sun May 14 21:05:13 2006
@@ -1162,16 +1162,14 @@
     }
 }
 
-/* Ejects the paper on device D, if a page is open and is not
-   blank. */
+/* Ejects the page on device D, if a page is open and non-blank,
+   and opens a new page.  */
 void
 outp_eject_page (struct outp_driver *d)
 {
   if (d->page_open && d->cp_y != 0)
-    {
-      outp_close_page (d);
-      outp_open_page (d);
-    }
+    outp_close_page (d);
+  outp_open_page (d);
 }
 
 /* Returns the width of string S, in device units, when output on




reply via email to

[Prev in Thread] Current Thread [Next in Thread]