Never call gDirUtilp->getExpandedFilename when getLindenUserDir() is empty.
This commit is contained in:
@@ -265,8 +265,8 @@ void LLViewerTextureList::shutdown()
|
||||
if (++count >= max_count)
|
||||
break;
|
||||
}
|
||||
|
||||
if (count > 0 && !gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, "").empty())
|
||||
|
||||
if (count > 0 && !gDirUtilp->getLindenUserDir(true).empty())
|
||||
{
|
||||
std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, get_texture_list_name());
|
||||
llofstream file;
|
||||
|
||||
Reference in New Issue
Block a user