Never call gDirUtilp->getExpandedFilename when getLindenUserDir() is empty.
This commit is contained in:
@@ -266,7 +266,7 @@ void LLViewerTextureList::shutdown()
|
|||||||
break;
|
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());
|
std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, get_texture_list_name());
|
||||||
llofstream file;
|
llofstream file;
|
||||||
|
|||||||
Reference in New Issue
Block a user