summaryrefslogtreecommitdiff
path: root/indra/newview/llsyntaxid.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2026-04-29 15:09:53 -0700
committerGitHub <noreply@github.com>2026-04-29 15:09:53 -0700
commit89a568167f419b34a7b61ca126c378cbb387bc45 (patch)
treec5d95a9f7ec73a335cff1f2852f324f453ad62df /indra/newview/llsyntaxid.cpp
parent84e806f71492a76ab28e049ec255df479ffbb339 (diff)
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Diffstat (limited to 'indra/newview/llsyntaxid.cpp')
-rw-r--r--indra/newview/llsyntaxid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp
index 3e6fc2d217..0ded401d3e 100644
--- a/indra/newview/llsyntaxid.cpp
+++ b/indra/newview/llsyntaxid.cpp
@@ -411,14 +411,14 @@ std::string LLSyntaxDefCache::buildCacheDirectoryName(const LLUUID& syntax_id)
if (syntax_id.isNull())
{
LL_DEBUGS("SyntaxLSL") << "No SyntaxID, using app settings directory." << LL_ENDL;
- return gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "syntax_default");
+ return gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "syntax_default");
}
else
{
LL_DEBUGS("SyntaxLSL") << "Using cache directory for SyntaxID '" << syntax_id << "'." << LL_ENDL;
std::string cache_dir_name = "syntax_" + syntax_id.asString();
- return gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, cache_dir_name);
+ return gDirUtilp->getExpandedFilename(LL_PATH_CACHE, cache_dir_name);
}
}