changeset 21230:721539013db4

make gl2ps printing work again (bug #47080) * gl2ps-print.cc (gl2ps_print): Pass stream to gl2ps renderer.
author John W. Eaton <jwe@octave.org>
date Tue, 09 Feb 2016 03:04:09 -0500
parents a83e7a384ee0
children 5f318c8ec634
files libinterp/corefcn/gl2ps-print.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/gl2ps-print.cc	Mon Feb 08 17:30:29 2016 -0500
+++ b/libinterp/corefcn/gl2ps-print.cc	Tue Feb 09 03:04:09 2016 -0500
@@ -783,7 +783,7 @@
 
   gl2ps_renderer rend (fp, term);
 
-  rend.draw (fig, "");
+  rend.draw (fig, stream);
 
   // Make sure buffered commands are finished!!!
   rend.finish ();