Skip to content
Permalink
Browse files

fix #2327

git-svn-id: http://svn.osgeo.org/qgis/trunk@12625 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 27, 2009
1 parent 9c00584 commit 53e47794bb0102d99792e4a57bcf414f73434095
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 53e4779

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