[GRASS-SVN] r39621 - grass/trunk/vector/v.extract
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Oct 23 10:51:43 EDT 2009
Author: martinl
Date: 2009-10-23 10:51:43 -0400 (Fri, 23 Oct 2009)
New Revision: 39621
Modified:
grass/trunk/vector/v.extract/main.c
Log:
v.extract: use Vect_get_field_number()
Modified: grass/trunk/vector/v.extract/main.c
===================================================================
--- grass/trunk/vector/v.extract/main.c 2009-10-23 14:48:49 UTC (rev 39620)
+++ grass/trunk/vector/v.extract/main.c 2009-10-23 14:51:43 UTC (rev 39621)
@@ -365,7 +365,8 @@
G_message(_("Extracting features..."));
xtract_line(cat_count, cat_array, &In, &Out, new_cat, type, dissolve,
- fieldopt->answer, type_only, r_flag->answer ? 1 : 0);
+ Vect_get_field_number(&In, fieldopt->answer),
+ type_only, r_flag->answer ? 1 : 0);
Vect_build(&Out);
More information about the grass-commit
mailing list