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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/plot/print.m
@@ -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