diff scripts/plot/__gnuplot_drawnow__.m @ 17306:09543e9c8f40

Use explicit form of end (endif, endfor, etc.) in core m-files. * scripts/general/interp1.m, scripts/image/rgb2ind.m, scripts/plot/__gnuplot_drawnow__.m, scripts/plot/private/__ezplot__.m, scripts/plot/private/__go_draw_axes__.m, scripts/special-matrix/gallery.m, scripts/strings/strjoin.m, scripts/testfun/assert.m, scripts/ui/questdlg.m: Use explicit form of end (endif, endfor, etc.) in core m-files.
author Rik <rik@octave.org>
date Wed, 21 Aug 2013 16:42:13 -0700
parents 7babcdb9bc13
children 3f0ed69d21c6
line wrap: on
line diff
--- a/scripts/plot/__gnuplot_drawnow__.m	Wed Aug 21 16:32:18 2013 -0700
+++ b/scripts/plot/__gnuplot_drawnow__.m	Wed Aug 21 16:42:13 2013 -0700
@@ -302,7 +302,7 @@
                               "pslatex", "pstext", "svg", "tgif", "x11"})))
         term_str = [term_str " dashed"];
       endif
-    end
+    endif
     if (any (strcmp (term, {"aqua", "wxt"})))
       term_str = [term_str, " ", "dashlength 1"];
     elseif (any (strcmp (term, {"epslatex", "postscript", "pslatex"})))