diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-17 18:46:17 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-17 18:46:17 -0500 |
commit | cba34d7d4cdb0339113a4798965d595645d5cb49 (patch) | |
tree | b74325f43d5757fdab1ce607b4f6aff94529e7b3 /indra/llvfs/lldir_win32.cpp | |
parent | 0a262969e1da82fc95ec889f7aaafa4078bcf480 (diff) | |
parent | 76d67b1f78eb4e8dc11c962d998e06fe28653a4b (diff) |
merge up from viewer-autobuild
Diffstat (limited to 'indra/llvfs/lldir_win32.cpp')
-rw-r--r-- | indra/llvfs/lldir_win32.cpp | 2 |
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); } |