Skip to content
Permalink
Browse files
Fixes for GRASS vector to work with current GRASS in trunk (from Mark…
…us Neteler)

git-svn-id: http://svn.osgeo.org/qgis/trunk@9661 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 17, 2008
1 parent 2bad057 commit ea657a257d1e92a511532ee8d607635d0917fe72
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/plugins/grass/qgsgrassplugin.cpp
@@ -479,7 +479,12 @@ void QgsGrassPlugin::newVector()
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 );

0 comments on commit ea657a2

Please sign in to comment.