[GRASS-SVN] r52753 - grass/branches/releasebranch_6_4/vector/v.out.pov

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 20 02:39:05 PDT 2012


Author: neteler
Date: 2012-08-20 02:39:04 -0700 (Mon, 20 Aug 2012)
New Revision: 52753

Modified:
   grass/branches/releasebranch_6_4/vector/v.out.pov/main.c
Log:
be sure to have an empty string

Modified: grass/branches/releasebranch_6_4/vector/v.out.pov/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.out.pov/main.c	2012-08-20 09:25:32 UTC (rev 52752)
+++ grass/branches/releasebranch_6_4/vector/v.out.pov/main.c	2012-08-20 09:39:04 UTC (rev 52753)
@@ -103,6 +103,11 @@
 	G_fatal_error("Cannot open output file '%s'", out_opt->answer);
     }
 
+    if (zmod_opt->answer == NULL)
+	zmod_opt->answer = G_store("");
+    if (objmod_opt->answer == NULL)
+	objmod_opt->answer = G_store("");
+
     count = 0;
     /* Lines */
     if ((otype &



More information about the grass-commit mailing list