diff --git a/rtgui/options.cc b/rtgui/options.cc index 615485c42..414eec521 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -2275,11 +2275,11 @@ void Options::load(bool lightweight) const char* homedir = g_getenv("HOME"); // This returns the current container data dir in ~/Library std::string homebuf{homedir}; int homelength = strlen(homebuf.c_str()); - homebuf[homelength-44] = '\0'; // Truncate path to just ${HOME}/Library + homebuf[homelength-44] = '\0'; // Terminate string after ${HOME}/Library std::string homeconfig{homebuf}; std::strcat(&homeconfig[0], "/Application Support/RawTherapee/config"); path = homeconfig.c_str(); - std::cout<<"config="<