[GRASS-SVN] r39811 - grass/branches/develbranch_6/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 26 15:27:07 EST 2009
Author: martinl
Date: 2009-11-26 15:27:06 -0500 (Thu, 26 Nov 2009)
New Revision: 39811
Modified:
grass/branches/develbranch_6/lib/vector/Vlib/read_ogr.c
Log:
fix bug in V2_read_next_line_ogr
(merge from r39810 trunk)
Modified: grass/branches/develbranch_6/lib/vector/Vlib/read_ogr.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/read_ogr.c 2009-11-26 20:20:04 UTC (rev 39810)
+++ grass/branches/develbranch_6/lib/vector/Vlib/read_ogr.c 2009-11-26 20:27:06 UTC (rev 39811)
@@ -242,7 +242,7 @@
V2_read_next_line_ogr(struct Map_info *Map, struct line_pnts *line_p,
struct line_cats *line_c)
{
- if (Map->next_line >= Map->plus.n_lines)
+ if (Map->next_line > Map->plus.n_lines)
return -2;
return V2_read_line_ogr(Map, line_p, line_c, Map->next_line++);
More information about the grass-commit
mailing list