[GRASS-SVN] r52754 - grass/branches/develbranch_6/vector/v.out.pov
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 20 02:41:30 PDT 2012
Author: neteler
Date: 2012-08-20 02:41:30 -0700 (Mon, 20 Aug 2012)
New Revision: 52754
Modified:
grass/branches/develbranch_6/vector/v.out.pov/main.c
Log:
be sure to have an empty string
Modified: grass/branches/develbranch_6/vector/v.out.pov/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.out.pov/main.c 2012-08-20 09:39:04 UTC (rev 52753)
+++ grass/branches/develbranch_6/vector/v.out.pov/main.c 2012-08-20 09:41:30 UTC (rev 52754)
@@ -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