diff scripts/plot/ancestor.m @ 8190:73d6b71788c0

use case-insensitive comparison for graphics properties; misc style fixes
author John W. Eaton <jwe@octave.org>
date Mon, 06 Oct 2008 21:06:05 -0400
parents 93c65f2a5668
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/plot/ancestor.m
+++ b/scripts/plot/ancestor.m
@@ -42,7 +42,7 @@
     if (iscellstr (type))
       look_first = true;
       if (nargin == 3)
-        if (ischar (toplevel) && strcmp (toplevel, "toplevel"))
+        if (ischar (toplevel) && strcmpi (toplevel, "toplevel"))
           look_first = false;
         else
           error ("ancestor: third argument must be \"toplevel\"");