X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Ffilesystem_paths.cc;h=5dc5e4dbdef823bb31cf4fc796e5a6a4d37801ec;hb=947422c0957dca63bc6a165634ab1510da60ed04;hp=932416ef413afd4e8b403c8833079dc5161baf05;hpb=ff122d0fe8fde6a8a4edc71f9dbba5d161036300;p=ardour.git diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 932416ef41..5dc5e4dbde 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -47,20 +47,20 @@ user_config_directory () p = c; } else { const string home_dir = Glib::get_home_dir(); - + if (home_dir.empty ()) { const string error_msg = "Unable to determine home directory"; - + // log the error error << error_msg << endmsg; - + throw sys::filesystem_error(error_msg); } p = home_dir; p /= ".config"; } - + p /= user_config_dir_name; return p;