Fix the build on Linux

stable-5.2
Armin Burgmeier 2010-01-25 20:17:29 +01:00
parent a528c7618f
commit 3ef547e58a
1 changed files with 1 additions and 1 deletions

View File

@ -915,7 +915,7 @@ void DirectoryIterator::Read(const char *dirname)
// ...unless they're . or ..
if (file->d_name[0] == '.' && (file->d_name[1] == '\0' || (file->d_name[1] == '.' && file->d_name[2] == '\0')))
continue;
p->files.push_back(file.cFileName);
p->files.push_back(file->d_name);
}
closedir(fh);
#endif