Skip to content

Commit 732ff05

Browse files
author
jef
committedDec 27, 2009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/providers/grass/qgsgrass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ void QgsGrass::setLocation( QString gisdbase, QString location )
335335
// #if defined(WIN32)
336336
// G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() );
337337
//#else
338-
G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
338+
G__setenv(( char * ) "GISDBASE", gisdbase.toUtf8().constData() );
339339
//#endif
340-
G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
340+
G__setenv(( char * ) "LOCATION_NAME", location.toUtf8().constData() );
341341
G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist
342342

343343
// Add all available mapsets to search path

0 commit comments

Comments
 (0)
Please sign in to comment.