[QGIS Commit] r15798 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Apr 21 13:36:13 EDT 2011


Author: jef
Date: 2011-04-21 10:36:13 -0700 (Thu, 21 Apr 2011)
New Revision: 15798

Modified:
   trunk/qgis/src/providers/grass/qgis.g.info.c
Log:
fix #3766

Modified: trunk/qgis/src/providers/grass/qgis.g.info.c
===================================================================
--- trunk/qgis/src/providers/grass/qgis.g.info.c	2011-04-21 14:43:48 UTC (rev 15797)
+++ trunk/qgis/src/providers/grass/qgis.g.info.c	2011-04-21 17:36:13 UTC (rev 15798)
@@ -151,7 +151,7 @@
       G_set_window( &window );
       fd = G_open_cell_old( rast_opt->answer, "" );
       // wait for coors from stdin
-      while ( G_getl2( buff, 100, stdin ) != 0 )
+      while ( fgets( buff, 100, stdin ) != 0 )
       {
         if ( sscanf( buff, "%lf%lf", &x, &y ) != 2 )
         {



More information about the QGIS-commit mailing list