# HG changeset patch # User John W. Eaton # Date 1204688547 18000 # Node ID c69d4732d8771cda50109d675f0afb3e0766729f # Parent df583cd2f21efae6d0c58190196e08b2b8f31553 print.m: fix oops in applying last change (really, I mean it this time) diff -r df583cd2f21e -r c69d4732d877 scripts/plot/print.m --- a/scripts/plot/print.m Tue Mar 04 22:29:00 2008 -0500 +++ b/scripts/plot/print.m Tue Mar 04 22:42:27 2008 -0500 @@ -187,11 +187,11 @@ size = arg(3:length(arg)); elseif (length (arg) >= 1 && arg(1) == "-") error ("print: unknown option `%s'", arg); + elseif (length (arg) > 0) + name = arg; 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