diff --git a/rtgui/options.cc b/rtgui/options.cc index 3cd3adb8a..84cd4d857 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -2276,8 +2276,9 @@ void Options::load(bool lightweight) std::string homebuf{homedir}; int homelength = strlen(homebuf.c_str()); homebuf[homelength-44] = '\0'; - std::string configpath = homebuf + "/Application Support/RawTherapee/config"; - path = configpath.c_str(); + std::string homeconfig{homebuf}; + std::strcat(homeconfig, "/Application Support/RawTherapee/config"); + path = homebuf.c_str(); std::cout<