Skip to content
Permalink
Browse files

fix #2327

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12625 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 27, 2009
1 parent 7ee8025 commit 732ff05f08ff7e25d544e5f25e224e2c6a73534c
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/grass/qgsgrass.cpp
@@ -335,9 +335,9 @@ void QgsGrass::setLocation( QString gisdbase, QString location )
// #if defined(WIN32)
// G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() );
//#else
G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
G__setenv(( char * ) "GISDBASE", gisdbase.toUtf8().constData() );
//#endif
G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
G__setenv(( char * ) "LOCATION_NAME", location.toUtf8().constData() );
G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist

// Add all available mapsets to search path

0 comments on commit 732ff05

Please sign in to comment.
You can’t perform that action at this time.