From 097375e543a42e4e895b7b646cbdb996ede5d037 Mon Sep 17 00:00:00 2001 From: Richard Barber Date: Mon, 17 Feb 2020 12:21:45 -0800 Subject: [PATCH] mac: spell font name correctly --- rtdata/options/options.osx | 4 ++-- rtgui/options.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtdata/options/options.osx b/rtdata/options/options.osx index 9c1cb4c92..f5477d11d 100644 --- a/rtdata/options/options.osx +++ b/rtdata/options/options.osx @@ -40,5 +40,5 @@ CustomProfileBuilder= [GUI] # Set the included font as default -FontFamily=DroidSansMonoSlashed Regular -CPFontFamily=DroidSansMonoSlashed Regular +FontFamily=Droid Sans Mono Slashed Regular +CPFontFamily=Droid Sans Mono Slashed Regular diff --git a/rtgui/options.cc b/rtgui/options.cc index b09a16ae8..615485c42 100644 --- a/rtgui/options.cc +++ b/rtgui/options.cc @@ -2278,7 +2278,7 @@ void Options::load(bool lightweight) homebuf[homelength-44] = '\0'; // Truncate path to just ${HOME}/Library std::string homeconfig{homebuf}; std::strcat(&homeconfig[0], "/Application Support/RawTherapee/config"); - path = homebuf.c_str(); + path = homeconfig.c_str(); std::cout<<"config="<