From: Thomas Debesse Date: Thu, 13 Jul 2017 15:03:31 +0000 (+0200) Subject: remove version string from home config path X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F63%2Fhead;p=xonotic%2Fnetradiant.git remove version string from home config path - GtkRadiant uses ~/.radiant/1.6.0/ - UFORadiant uses `~/.ufoai/radiant/ - DarkRadiant uses ~/.darkradiant/ - NetRadiant was using uses both ~/.netradiant/1.5.0/ and ~/.netradiant/1.1.5/, which is not defined by the version but the way you build it. - AARadiant uses `~/.aaradiant/1.5.0/ - XrealRadiant used ~/.rxealradiant/ I guess no one Radiant out there needs a version number in config path to not mess with other Radiants. --- diff --git a/radiant/main.cpp b/radiant/main.cpp index 97fc2745..e46d903f 100644 --- a/radiant/main.cpp +++ b/radiant/main.cpp @@ -329,7 +329,7 @@ void paths_init(){ { StringOutputStream path( 256 ); - path << home << RADIANT_MAJOR_VERSION "." RADIANT_MINOR_VERSION "." RADIANT_PATCH_VERSION "/"; + path << home << "/"; g_strSettingsPath = path.c_str(); }