summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_win32.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-16 21:53:52 -0500
committerOz Linden <oz@lindenlab.com>2011-02-16 21:53:52 -0500
commit4497502d0d3784a2cfd6871e7609290de2023475 (patch)
tree42e04c6380d13a4653e3649753129e5562989df7 /indra/llvfs/lldir_win32.cpp
parent893690bb4f9da18d999cc47e51242af7ffb77b8a (diff)
parent75f7aca1079468eb8655c5726318cc3a7aa85c16 (diff)
Automated merge with file:///Users/oz/Work/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);
}