diff scripts/plot/hidden.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 5c121a8b40b5
children 5dd06f19e9be
line wrap: on
line diff
--- a/scripts/plot/hidden.m
+++ b/scripts/plot/hidden.m
@@ -49,7 +49,7 @@
     if (strcmp (htype, "surface"))
       fc = get (h, "facecolor");
       if ((! ischar (fc) && is_white (fc))
-	  || (ischar (fc) && strcmp (fc, "none")))
+	  || (ischar (fc) && strcmpi (fc, "none")))
         switch (mode)
         case "on"
           set (h, "facecolor", "w");