Mercurial > hg > octave-nkf
diff scripts/plot/__fltk_print__.m @ 11588:d5bd2766c640
style fixes for warning and error messages in script files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:51:13 -0500 |
parents | 8ac9687dbe9f |
children | b0084095098e |
line wrap: on
line diff
--- a/scripts/plot/__fltk_print__.m +++ b/scripts/plot/__fltk_print__.m @@ -139,7 +139,7 @@ endif otherwise error (sprintf ("print:no%soutput", opts.devopt), - "print.m: %s output is not available for GL2PS output.", + "print.m: %s output is not available for GL2PS output", upper (opts.devopt)) endswitch @@ -151,7 +151,7 @@ endif pid = popen (pipeline{n}, "w"); if (pid < 0) - error ("print:popenfailed", "print.m: failed to open pipe."); + error ("print:popenfailed", "print.m: failed to open pipe"); endif unwind_protect drawnow (gl2ps_device{n} , sprintf ("%d" , pid));