From cca34f16dd79477aa309d17d7c3fd121fed594b0 Mon Sep 17 00:00:00 2001 From: Richard Barber Date: Mon, 17 Feb 2020 11:44:01 -0800 Subject: [PATCH] mac:use strcat() --- rtgui/options.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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<