[GRASS-SVN] r45792 - grass/branches/develbranch_6/vector/v.buffer
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 27 14:50:32 EDT 2011
Author: neteler
Date: 2011-03-27 11:50:32 -0700 (Sun, 27 Mar 2011)
New Revision: 45792
Modified:
grass/branches/develbranch_6/vector/v.buffer/main.c
Log:
compilation fixed
Modified: grass/branches/develbranch_6/vector/v.buffer/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.buffer/main.c 2011-03-27 11:44:47 UTC (rev 45791)
+++ grass/branches/develbranch_6/vector/v.buffer/main.c 2011-03-27 18:50:32 UTC (rev 45792)
@@ -271,7 +271,7 @@
buffer_opt->required = NO;
buffer_opt->description = _("DEPRECATED Buffer distance in map units");
- dist = G_define_option();
+ dist_opt = G_define_option();
dist_opt->key = "distance";
dist_opt->type = TYPE_DOUBLE;
dist_opt->required = NO;
@@ -321,7 +321,7 @@
dist_answer = (buffer_opt->answer != NULL || dist_opt->answer != NULL);
if ((dist_answer && bufcol_opt->answer) ||
- (!(dist_answer->answer || bufcol_opt->answer)))
+ (!(dist_opt->answer || bufcol_opt->answer)))
G_fatal_error("Select a buffer distance or column, but not both.");
if (bufcol_opt->answer)
More information about the grass-commit
mailing list