From be28477b0c6f7c8c3b40e4b6e4292e59b5b35fe7 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Tue, 28 Nov 2017 19:52:10 +0100 Subject: [PATCH] Create user fonts folder at startup if it doesn't exist --- indra/newview/llstartup.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 8b31fa31cd..22bef6aaea 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -1424,6 +1424,10 @@ bool idle_startup() std::string user_windlight_days_path_name(gDirUtilp->getExpandedFilename( LL_PATH_USER_SETTINGS , "windlight/days", "")); LLFile::mkdir(user_windlight_days_path_name.c_str()); + // Create user fonts directory + std::string user_fonts_path_name(gDirUtilp->getExpandedFilename( LL_PATH_USER_SETTINGS , "fonts", "")); + LLFile::mkdir(user_fonts_path_name.c_str()); + // Initalize Account based asset_blacklist FSAssetBlacklist::getInstance()->init();