[Support] fix user_cache_directory on mac

This commit is contained in:
Sam McCall 2020-07-06 12:54:11 +02:00
parent bfd84b1c03
commit d7ea6ce809
1 changed files with 1 additions and 1 deletions

View File

@ -1193,7 +1193,7 @@ bool user_config_directory(SmallVectorImpl<char> &result) {
#ifdef __APPLE__
// Mac: ~/Library/Preferences/
if (home_directory(result)) {
append("Library", "Preferences");
append(result, "Library", "Preferences");
return true;
}
#else