Skip to content

Commit 90e2ba8

Browse files
author
jef
committed
fix #3766
git-svn-id: http://svn.osgeo.org/qgis/trunk@15798 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a1dcd0d commit 90e2ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/grass/qgis.g.info.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ int main( int argc, char **argv )
151151
G_set_window( &window );
152152
fd = G_open_cell_old( rast_opt->answer, "" );
153153
// wait for coors from stdin
154-
while ( G_getl2( buff, 100, stdin ) != 0 )
154+
while ( fgets( buff, 100, stdin ) != 0 )
155155
{
156156
if ( sscanf( buff, "%lf%lf", &x, &y ) != 2 )
157157
{

0 commit comments

Comments
 (0)