diff options
author | Alain Linden <alain@lindenlab.com> | 2011-02-15 12:03:45 -0800 |
---|---|---|
committer | Alain Linden <alain@lindenlab.com> | 2011-02-15 12:03:45 -0800 |
commit | c98996e684911bb12986d9493269b39ac1b9a59a (patch) | |
tree | d24170db8815edf39c7cdd860b15d053f486b187 | |
parent | 2f363a770765553d63f5edaea713743944a593c9 (diff) |
fix test failure caused by dubious method for testing an empty string.
-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); } |