diff options
Diffstat (limited to 'Source/Core/Common/Src/FileSearch.cpp')
| -rw-r--r-- | Source/Core/Common/Src/FileSearch.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/Core/Common/Src/FileSearch.cpp b/Source/Core/Common/Src/FileSearch.cpp index 6ada69d79b..95df8a0ba8 100644 --- a/Source/Core/Common/Src/FileSearch.cpp +++ b/Source/Core/Common/Src/FileSearch.cpp @@ -56,11 +56,13 @@ void CFileSearch::FindFiles(const std::string& _searchString, const std::string& bool bkeepLooping = true;
while (bkeepLooping)
- {
- std::string strFilename;
- BuildCompleteFilename(strFilename, _strPath, findData.cFileName);
-
- m_FileNames.push_back(strFilename);
+ {
+ if (findData.cFileName[0] != '.')
+ {
+ std::string strFilename;
+ BuildCompleteFilename(strFilename, _strPath, findData.cFileName);
+ m_FileNames.push_back(strFilename);
+ }
bkeepLooping = FindNextFile(FindFirst, &findData) ? true : false;
}
|
