Permalink
Browse files

Io: Linux buildfix.

Fixes #11300.
  • Loading branch information...
unknownbrackets committed Aug 13, 2018
1 parent 39eb2b4 commit ac5467ca67cda4e5f64dda1e749cf16380c68fcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 Core/FileSystems/DirectoryFileSystem.cpp
@@ -900,7 +900,7 @@ std::vector<PSPFileInfo> DirectoryFileSystem::GetDirListing(std::string path) {
localtime_r((time_t*)&s.st_atime,&entry.atime);
localtime_r((time_t*)&s.st_ctime,&entry.ctime);
localtime_r((time_t*)&s.st_mtime,&entry.mtime);
if (!listingRoot || (wcscmp(findData.cFileName, L"..") && wcscmp(findData.cFileName, L".")))
if (!listingRoot || (strcmp(dirp->d_name, "..") && strcmp(dirp->d_name, ".")))
myVector.push_back(entry);
}
closedir(dp);

0 comments on commit ac5467c

Please sign in to comment.