diff scripts/plot/private/__ghostscript__.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 c792872f8942
children b0084095098e
line wrap: on
line diff
--- a/scripts/plot/private/__ghostscript__.m
+++ b/scripts/plot/private/__ghostscript__.m
@@ -114,13 +114,13 @@
     unwind_protect
       fid = fopen (offsetfile, "w");
       if (fid == -1)
-        error ("print:fopenfailed", "__ghostscript__.m: fopen() failed.");
+        error ("print:fopenfailed", "__ghostscript__.m: fopen() failed");
       endif
       fprintf (fid, "%s\n", offset_ps{:})
     unwind_protect_cleanup
       status = fclose (fid);
       if (status == -1)
-        error ("print:fclosefailed", "__ghostscript__.m: fclose() failed.");
+        error ("print:fclosefailed", "__ghostscript__.m: fclose() failed");
       endif
     end_unwind_protect
     if (opts.debug)