[GRASS-SVN] r46981 - grass/trunk/lib/cairodriver

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 5 06:12:12 EDT 2011


Author: martinl
Date: 2011-07-05 03:12:12 -0700 (Tue, 05 Jul 2011)
New Revision: 46981

Modified:
   grass/trunk/lib/cairodriver/Driver.c
   grass/trunk/lib/cairodriver/Graph.c
Log:
cairodriver: define driver name
     	     sync messages


Modified: grass/trunk/lib/cairodriver/Driver.c
===================================================================
--- grass/trunk/lib/cairodriver/Driver.c	2011-07-05 10:11:18 UTC (rev 46980)
+++ grass/trunk/lib/cairodriver/Driver.c	2011-07-05 10:12:12 UTC (rev 46981)
@@ -27,6 +27,7 @@
     if (initialized)
 	return &drv;
 
+    drv.name = "cairo";
     drv.Box = Cairo_Box;
     drv.Erase = Cairo_Erase;
     drv.Graph_set = Cairo_Graph_set;

Modified: grass/trunk/lib/cairodriver/Graph.c
===================================================================
--- grass/trunk/lib/cairodriver/Graph.c	2011-07-05 10:11:18 UTC (rev 46980)
+++ grass/trunk/lib/cairodriver/Graph.c	2011-07-05 10:12:12 UTC (rev 46981)
@@ -176,7 +176,7 @@
 
     G_verbose_message(_("cairo: collecting to file '%s'"),
 		      ca.file_name);
-    G_verbose_message(_("cairo: image size %dx%d"),
+    G_verbose_message(_("cairo: nimage size %dx%d"),
 		      ca.width, ca.height);
     
     if (do_read && do_map)



More information about the grass-commit mailing list