From: Thomas Debesse Date: Sun, 30 Jul 2017 16:35:31 +0000 (+0200) Subject: Ingar was right (slashslash no more) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d1697aa2ba29d95649e6fd9fcf5e30a71f4dda83;p=xonotic%2Fnetradiant.git Ingar was right (slashslash no more) --- diff --git a/radiant/main.cpp b/radiant/main.cpp index f86b1895..93de25c9 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -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() );