diff scripts/plot/print.m @ 11113:a8ac114ec9ab

Stylefixes, replace end by endif.
author Thorsten Meyer <thorsten.meyier@gmx.de>
date Mon, 18 Oct 2010 20:40:12 +0200
parents 811b51cdddce
children a44f979a35ce
line wrap: on
line diff
--- a/scripts/plot/print.m
+++ b/scripts/plot/print.m
@@ -592,10 +592,10 @@
     cmd = opts.lpr_binary;
     if (! isempty (opts.lpr_options))
       cmd = sprintf ("%s %s", cmd, opts.lpr_options);
-    end
+    endif
     if (! isempty (opts.printer))
       cmd = sprintf ("%s -P %s", cmd, opts.printer);
-    end
+    endif
   elseif (isempty (opts.lpr_binary))
     error ("print:nolpr", "print.m: 'lpr' not found in EXEC_PATH.")
   endif