DirectoryReader: rename Failed() to HasFailed() for consistency with TextFile

This commit is contained in:
Denis Krjuchkov
2013-05-05 13:34:12 +06:00
parent df3e7a9248
commit 896015bf53
2 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ check_directory(const char *path_utf8, const Path &path_fs)
#endif
const DirectoryReader reader(path_fs);
if (reader.Failed() && errno == EACCES)
if (reader.HasFailed() && errno == EACCES)
g_warning("No permission to read directory: %s", path_utf8);
}