diff options
Diffstat (limited to 'indra/llvfs')
| -rw-r--r-- | indra/llvfs/lldir.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/indra/llvfs/lldir.cpp b/indra/llvfs/lldir.cpp index 52ef1baabf..745e53c980 100644 --- a/indra/llvfs/lldir.cpp +++ b/indra/llvfs/lldir.cpp @@ -475,6 +475,8 @@ std::string LLDir::getDirName(const std::string& filepath) const  std::string LLDir::getExtension(const std::string& filepath) const  { +	if (filepath.empty()) +		return std::string();  	std::string basename = getBaseFileName(filepath, false);  	std::size_t offset = basename.find_last_of('.');  	std::string exten = (offset == std::string::npos || offset == 0) ? "" : basename.substr(offset+1); | 
