Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #2327
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12625 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 27, 2009
1 parent 7ee8025 commit 732ff05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/grass/qgsgrass.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 732ff05

Please sign in to comment.