diff scripts/plot/findfigs.m @ 15017:dd4ad69e4ab9

maint: Fix a few Octave coding convention violations. * gzip.m, findfigs.m, hdl2struct.m: Use parentheses around if block test. * graphics.cc, ov-class.cc: Use space after if and before first parenthesis
author Rik <rik@octave.org>
date Wed, 25 Jul 2012 20:58:21 -0700
parents 4dbb47d09219
children 1c89599167a6
line wrap: on
line diff
--- a/scripts/plot/findfigs.m
+++ b/scripts/plot/findfigs.m
@@ -47,7 +47,7 @@
   screensize(3:4) -= margin;
 
   for i = 1:numel (figh)
-    if strcmp (get (figh(i), "visible"), "on")
+    if (strcmp (get (figh(i), "visible"), "on"))
 
       units = get (figh(i), "units");
       unwind_protect