]> git.xonotic.org Git - xonotic/netradiant.git/commitdiff
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 f86b18951048f3313831b64686a602fd58ba19b9..93de25c9165056fa13c979ea71fe950f2552ca3b 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() );