diff scripts/plot/cla.m @ 8610:85c9906abfd1

use endif and endfor instead of end
author John W. Eaton <jwe@octave.org>
date Tue, 27 Jan 2009 23:17:37 -0500
parents 26f0e69e9f3a
children 5dd06f19e9be
line wrap: on
line diff
--- a/scripts/plot/cla.m
+++ b/scripts/plot/cla.m
@@ -62,14 +62,14 @@
     hax = gca;
     oldhax = hax;
     do_reset = false;
-  end
+  endif
 
   hc = get (hax, "children");
 
   if (! do_reset && ! isempty (hc))
     hc = findobj (hc, "flat", "visible", "on");
     hc = setdiff (hc, hax);
-  end
+  endif
 
   if (! isempty (hc))
     ## Delete the children of the axis.