Commit d6105572 authored by Thomas Debesse's avatar Thomas Debesse

Merge branch 'illwieckz/dropwin9x' fix !50

parents fda16399 7418c509
......@@ -292,15 +292,7 @@ void environment_init( int argc, char const* argv[] ){
if ( !portable_app_setup() ) {
char *appdata = getenv( "APPDATA" );
StringOutputStream home( 256 );
if ( !appdata || string_empty( appdata ) ) {
ERROR_MESSAGE( "Application Data folder not available.\n"
"Radiant will use C:\\ for user preferences.\n" );
home << "C:";
}
else
{
home << PathCleaned( appdata );
}
home << PathCleaned( appdata );
home << "/NetRadiantSettings/";
Q_mkdir( home.c_str() );
home_path = home.c_str();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment