gui: Fix printing of tables split across pages in psppire-output-window.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 2 Dec 2011 06:06:48 +0000 (22:06 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 2 Dec 2011 06:06:48 +0000 (22:06 -0800)
commit769fb2e87faed46645d19564859648dbddb38589
treee3786ec915edfb5541c82afbaa90a481a372903b
parent6e5736d55e61f5dca727428213a835998eeacead
gui: Fix printing of tables split across pages in psppire-output-window.

xr_driver_output_item() expects the caller to call xr_driver_next_page()
as long as xr_driver_need_new_page() returns true, but the printing code
didn't do that, so tables split across pages in printouts caused an
assertion failure at the next call to xr_driver_output_item().

Reported-by: John Darrington <john@darrington.wattle.id.au>
src/ui/gui/psppire-output-window.c