From 6717a2be0c720ffb349ad3ae6eb0aab5020d4b3d Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Tue, 18 Nov 2008 21:26:23 -0600 Subject: Changed app dir (for cache, etc.) to Imprudence. --- linden/indra/newview/llappviewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linden/indra/newview/llappviewer.cpp') diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 5fd5575..6301421 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp @@ -580,7 +580,7 @@ bool LLAppViewer::init() // Need to do this initialization before we do anything else, since anything // that touches files should really go through the lldir API - gDirUtilp->initAppDirs("SecondLife"); + gDirUtilp->initAppDirs(IMP_VIEWER_NAME); // set skin search path to default, will be overridden later // this allows simple skinned file lookups to work gDirUtilp->setSkinFolder("default"); @@ -2688,7 +2688,7 @@ bool LLAppViewer::initCache() std::string cache_dir = gDirUtilp->getOSUserAppDir(); std::string new_cache_dir = gDirUtilp->getOSCacheDir(); cache_dir = cache_dir + "/cache"; - new_cache_dir = new_cache_dir + "/SecondLife"; + new_cache_dir = new_cache_dir + "/" + gSecondLife; if (gDirUtilp->fileExists(cache_dir)) { gDirUtilp->setCacheDir(cache_dir); -- cgit v1.1