Ingar was right (slashslash no more)
authorThomas Debesse <dev@illwieckz.net>
Sun, 30 Jul 2017 16:35:31 +0000 (18:35 +0200)
committerThomas Debesse <dev@illwieckz.net>
Tue, 1 Aug 2017 14:05:20 +0000 (16:05 +0200)
radiant/main.cpp

index f86b189..93de25c 100644 (file)
@@ -324,14 +324,7 @@ void streams_init(){
 }
 
 void paths_init(){
-       const char* home = environment_get_home_path();
-       Q_mkdir( home );
-
-       {
-               StringOutputStream path( 256 );
-               path << home << "/";
-               g_strSettingsPath = path.c_str();
-       }
+       g_strSettingsPath = environment_get_home_path();
 
        Q_mkdir( g_strSettingsPath.c_str() );