Skip to content

Commit 13a2eaa

Browse files
committedDec 11, 2012
G__init_null_patterns GRASS 6.5, fixes #6849
1 parent 786be57 commit 13a2eaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/providers/grass/qgsgrassgislib.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ int GRASS_LIB_EXPORT QgsGrassGisLib::G__gisinit( const char * version, const cha
162162
G_setenv( "OVERWRITE", "1" ); // avoid checking if map exists
163163

164164
G_suppress_masking();
165+
166+
#if GRASS_VERSION_MAJOR<6 || (GRASS_VERSION_MAJOR == 6 && GRASS_VERSION_MINOR <= 4)
165167
G__init_null_patterns();
168+
#endif
166169

167170
// Read projection if set
168171
//mCrs.createFromOgcWmsCrs( "EPSG:900913" );

0 commit comments

Comments
 (0)
Please sign in to comment.