changeset 7341:72b0181c41f1

[project @ 2008-01-02 07:42:04 by jwe]
author jwe
date Wed, 02 Jan 2008 07:42:04 +0000
parents 615860ec1be0
children 9c7073003700
files scripts/ChangeLog scripts/plot/print.m
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Sat Dec 29 00:30:20 2007 +0000
+++ b/scripts/ChangeLog	Wed Jan 02 07:42:04 2008 +0000
@@ -1,3 +1,7 @@
+2008-01-02  John W. Eaton  <jwe@octave.org>
+
+	* plot/print.m: Correctly handle pbm terminal.
+
 2007-12-28  John W. Eaton  <jwe@octave.org>
 
 	* miscellaneous/edit.m: Use strcat instead of fullfile to add file
--- a/scripts/plot/print.m	Sat Dec 29 00:30:20 2007 +0000
+++ b/scripts/plot/print.m	Wed Jan 02 07:42:04 2008 +0000
@@ -1,4 +1,4 @@
-## Copyright (C) 1999, 2005, 2006, 2007 Daniel Heiserer
+## Copyright (C) 1999, 2005, 2006, 2007, 2008 Daniel Heiserer
 ## Copyright (C) 2001 Laurent Mazet
 ##
 ## This file is part of Octave.
@@ -356,7 +356,7 @@
     else
       options = strcat (" size ", size);
     endif
-    new_terminal = strcat ("png", options);
+    new_terminal = strcat (dev, options);
 
   elseif (strcmp (dev, "dxf") || strcmp (dev, "mf") || strcmp (dev, "hpgl"))
     ## AutoCad DXF, METAFONT, HPGL