summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_win32.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-17 18:46:17 -0500
committerOz Linden <oz@lindenlab.com>2011-02-17 18:46:17 -0500
commitcba34d7d4cdb0339113a4798965d595645d5cb49 (patch)
treeb74325f43d5757fdab1ce607b4f6aff94529e7b3 /indra/llvfs/lldir_win32.cpp
parent0a262969e1da82fc95ec889f7aaafa4078bcf480 (diff)
parent76d67b1f78eb4e8dc11c962d998e06fe28653a4b (diff)
merge up from viewer-autobuild
Diffstat (limited to 'indra/llvfs/lldir_win32.cpp')
-rw-r--r--indra/llvfs/lldir_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llvfs/lldir_win32.cpp b/indra/llvfs/lldir_win32.cpp
index 33718e520d..b9a3995e25 100644
--- a/indra/llvfs/lldir_win32.cpp
+++ b/indra/llvfs/lldir_win32.cpp
@@ -249,7 +249,7 @@ BOOL LLDir_Win32::getNextFileInDir(const std::string &dirname, const std::string
if (pathname != mCurrentDir)
{
// different dir specified, close old search
- if (mCurrentDir[0])
+ if (!mCurrentDir.empty())
{
FindClose(mDirSearch_h);
}