+ restore lost changes, improve whitspaces, suppress useless MSVC warnings

This commit is contained in:
wmayer
2014-08-28 12:37:42 +02:00
parent f4e7a2e2a0
commit 5c269996b8
8 changed files with 16 additions and 8 deletions

View File

@@ -521,7 +521,7 @@ std::vector<Base::FileInfo> FileInfo::getDirectoryContent(void) const
{
std::vector<Base::FileInfo> List;
#if defined (FC_OS_WIN32)
struct _wfinddata_t dentry;
struct _wfinddata_t dentry;
intptr_t hFile;
@@ -530,7 +530,7 @@ std::vector<Base::FileInfo> FileInfo::getDirectoryContent(void) const
wstr += L"/*";
if ((hFile = _wfindfirst( wstr.c_str(), &dentry)) == -1L)
return List;
return List;
while (_wfindnext(hFile, &dentry) == 0)
if (wcscmp(dentry.name,L"..") != 0)