# HG changeset patch # User jwe # Date 1199259724 0 # Node ID 72b0181c41f1a199810267bd9fb24452cf2d1545 # Parent 615860ec1be08990eacf943c7db7cdfe10097481 [project @ 2008-01-02 07:42:04 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2008-01-02 John W. Eaton + + * plot/print.m: Correctly handle pbm terminal. + 2007-12-28 John W. Eaton * miscellaneous/edit.m: Use strcat instead of fullfile to add file diff --git a/scripts/plot/print.m b/scripts/plot/print.m --- a/scripts/plot/print.m +++ b/scripts/plot/print.m @@ -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