[GRASS-SVN] r52735 - grass/trunk/ps/ps.map

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 19 10:27:12 PDT 2012


Author: mmetz
Date: 2012-08-19 10:27:12 -0700 (Sun, 19 Aug 2012)
New Revision: 52735

Modified:
   grass/trunk/ps/ps.map/main.c
Log:
ps.map: map composition is done when everything is done, not earlier

Modified: grass/trunk/ps/ps.map/main.c
===================================================================
--- grass/trunk/ps/ps.map/main.c	2012-08-19 17:20:08 UTC (rev 52734)
+++ grass/trunk/ps/ps.map/main.c	2012-08-19 17:27:12 UTC (rev 52735)
@@ -260,9 +260,6 @@
     ps_mask_file = G_tempfile();
     ps_map();
 
-    G_done_msg(_("PostScript file '%s' successfully written."),
-	       output_file->answer);
-
     /* cleanup the tempfiles */
     unlink(ps_mask_file);
     if (PS.plfile)
@@ -273,6 +270,9 @@
     if (labels.other)
 	unlink(labels.other);
 
+    G_done_msg(_("PostScript file '%s' successfully written."),
+	       output_file->answer);
+
     exit(EXIT_SUCCESS);
 }
 



More information about the grass-commit mailing list