changeset 7555:df583cd2f21e

print.m: fix oops in applying last change
author John W. Eaton <jwe@octave.org>
date Tue, 04 Mar 2008 22:29:00 -0500
parents 40574114c514
children c69d4732d877
files scripts/ChangeLog scripts/plot/print.m
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Tue Mar 04 22:25:50 2008 -0500
+++ b/scripts/ChangeLog	Tue Mar 04 22:29:00 2008 -0500
@@ -1,3 +1,7 @@
+2008-03-04  John W. Eaton  <jwe@octave.org>
+
+	* plot/print.m: Fix oops in applying last change.
+
 2008-03-04  Bill Denney  <bill@denney.ws>
 
 	* geometry/rectint.m: New function.
--- a/scripts/plot/print.m	Tue Mar 04 22:25:50 2008 -0500
+++ b/scripts/plot/print.m	Tue Mar 04 22:29:00 2008 -0500
@@ -190,6 +190,8 @@
         endif
       elseif (ishandle (arg))
         figure (arg);
+      elseif (length (arg) > 0)
+	name = arg;
       else
         error ("print: expecting inputs to be character string options or a figure handle");
       endif