summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldir_win32.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-02-17 13:52:53 -0500
committerOz Linden <oz@lindenlab.com>2011-02-17 13:52:53 -0500
commit7d16a1959005ec7607a787f757a049d744fafb8e (patch)
tree0edd3491ba75e4ce537bdc5e544b029b24922e04 /indra/llvfs/lldir_win32.cpp
parentfb94ad7646b5c8a2eaa65e41b0b8b1679652d956 (diff)
parentb890f3cd55b21c62d2629c82336cd19e2750a760 (diff)
merge changes for 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);
}