[GRASS-SVN] r39810 - grass/trunk/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 26 15:20:04 EST 2009
Author: martinl
Date: 2009-11-26 15:20:04 -0500 (Thu, 26 Nov 2009)
New Revision: 39810
Modified:
grass/trunk/lib/vector/Vlib/read_ogr.c
Log:
fix bug in V2_read_next_line_ogr
Modified: grass/trunk/lib/vector/Vlib/read_ogr.c
===================================================================
--- grass/trunk/lib/vector/Vlib/read_ogr.c 2009-11-26 20:05:21 UTC (rev 39809)
+++ grass/trunk/lib/vector/Vlib/read_ogr.c 2009-11-26 20:20:04 UTC (rev 39810)
@@ -239,7 +239,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