qgsgrass.cpp.diff

patch file - Giuseppe Sucameli, 2009-10-24 04:23 PM

Download (720 Bytes)

View differences:

qgsgrass.cpp (working copy)
335 335
// #if defined(WIN32)
336 336
//  G__setenv(( char * ) "GISDBASE", shortPath( gisdbase ).toLocal8Bit().data() );
337 337
//#else
338
  G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().constData() );
338
  G__setenv(( char * ) "GISDBASE", gisdbase.toAscii().data() );
339 339
//#endif
340
  G__setenv(( char * ) "LOCATION_NAME", location.toAscii().constData() );
340
  G__setenv(( char * ) "LOCATION_NAME", location.toAscii().data() );
341 341
  G__setenv(( char * ) "MAPSET", ( char * ) "PERMANENT" ); // PERMANENT must always exist
342 342

  
343 343
  // Add all available mapsets to search path