[GRASS-SVN] r39819 -
grass/branches/releasebranch_6_4/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 26 16:57:09 EST 2009
Author: martinl
Date: 2009-11-26 16:57:08 -0500 (Thu, 26 Nov 2009)
New Revision: 39819
Modified:
grass/branches/releasebranch_6_4/lib/vector/Vlib/read_ogr.c
Log:
fix bug in V2_read_next_line_ogr
(merge from r39810 trunk)
Modified: grass/branches/releasebranch_6_4/lib/vector/Vlib/read_ogr.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/vector/Vlib/read_ogr.c 2009-11-26 21:56:22 UTC (rev 39818)
+++ grass/branches/releasebranch_6_4/lib/vector/Vlib/read_ogr.c 2009-11-26 21:57:08 UTC (rev 39819)
@@ -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