[GRASS-SVN] r33385 - grass/branches/develbranch_6/vector/v.info

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 10 11:09:01 EDT 2008


Author: hamish
Date: 2008-09-10 11:09:01 -0400 (Wed, 10 Sep 2008)
New Revision: 33385

Modified:
   grass/branches/develbranch_6/vector/v.info/main.c
Log:
change Map is 3D in form to report in human not binary.
scripts should be using the -t flag not parsing the form.


Modified: grass/branches/develbranch_6/vector/v.info/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.info/main.c	2008-09-10 13:16:08 UTC (rev 33384)
+++ grass/branches/develbranch_6/vector/v.info/main.c	2008-09-10 15:09:01 UTC (rev 33385)
@@ -272,8 +272,8 @@
 			(long)Vect_get_num_primitives(&Map, GV_KERNEL));
 		printline(line);
 		printline("");
-		sprintf(line, _("  Map is 3D:              %d"),
-			Vect_is_3d(&Map));
+		sprintf(line, _("  Map is 3D:              %s"),
+			Vect_is_3d(&Map) ? "Yes" : "No");
 		printline(line);
 		sprintf(line, _("  Number of dblinks:      %-9ld"),
 			(long)Vect_get_num_dblinks(&Map));



More information about the grass-commit mailing list