diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() | |||
580 | 580 | ||
581 | // Need to do this initialization before we do anything else, since anything | 581 | // Need to do this initialization before we do anything else, since anything |
582 | // that touches files should really go through the lldir API | 582 | // that touches files should really go through the lldir API |
583 | gDirUtilp->initAppDirs("SecondLife"); | 583 | gDirUtilp->initAppDirs(IMP_VIEWER_NAME); |
584 | // set skin search path to default, will be overridden later | 584 | // set skin search path to default, will be overridden later |
585 | // this allows simple skinned file lookups to work | 585 | // this allows simple skinned file lookups to work |
586 | gDirUtilp->setSkinFolder("default"); | 586 | gDirUtilp->setSkinFolder("default"); |
@@ -2688,7 +2688,7 @@ bool LLAppViewer::initCache() | |||
2688 | std::string cache_dir = gDirUtilp->getOSUserAppDir(); | 2688 | std::string cache_dir = gDirUtilp->getOSUserAppDir(); |
2689 | std::string new_cache_dir = gDirUtilp->getOSCacheDir(); | 2689 | std::string new_cache_dir = gDirUtilp->getOSCacheDir(); |
2690 | cache_dir = cache_dir + "/cache"; | 2690 | cache_dir = cache_dir + "/cache"; |
2691 | new_cache_dir = new_cache_dir + "/SecondLife"; | 2691 | new_cache_dir = new_cache_dir + "/" + gSecondLife; |
2692 | if (gDirUtilp->fileExists(cache_dir)) | 2692 | if (gDirUtilp->fileExists(cache_dir)) |
2693 | { | 2693 | { |
2694 | gDirUtilp->setCacheDir(cache_dir); | 2694 | gDirUtilp->setCacheDir(cache_dir); |