[QGIS Commit] r9661 - trunk/qgis/src/plugins/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 17 15:32:04 EST 2008


Author: timlinux
Date: 2008-11-17 15:32:03 -0500 (Mon, 17 Nov 2008)
New Revision: 9661

Modified:
   trunk/qgis/src/plugins/grass/qgsgrassplugin.cpp
Log:
Fixes for GRASS vector to work with current GRASS in trunk (from Markus Neteler)

Modified: trunk/qgis/src/plugins/grass/qgsgrassplugin.cpp
===================================================================
--- trunk/qgis/src/plugins/grass/qgsgrassplugin.cpp	2008-11-17 20:20:38 UTC (rev 9660)
+++ trunk/qgis/src/plugins/grass/qgsgrassplugin.cpp	2008-11-17 20:32:03 UTC (rev 9661)
@@ -479,7 +479,12 @@
     return;
   }
 
+#if defined(GRASS_VERSION_MAJOR) && defined(GRASS_VERSION_MINOR) && \
+  ( ( GRASS_VERSION_MAJOR == 6 && GRASS_VERSION_MINOR >= 4 ) || GRASS_VERSION_MAJOR > 6 )
+  Vect_build( &Map );
+#else
   Vect_build( &Map, stderr );
+#endif
   Vect_set_release_support( &Map );
   Vect_close( &Map );
 



More information about the QGIS-commit mailing list