Corrected QueryDirectory return code for no more files.

This commit is contained in:
gibbed 2017-08-09 01:16:42 -05:00
parent 4c77616ef9
commit ff1a3aaa67
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ X_STATUS XFile::QueryDirectory(X_FILE_DIRECTORY_INFORMATION* out_info,
entry = file_->entry()->IterateChildren(find_engine_, &find_index_);
if (!entry) {
return X_STATUS_NO_SUCH_FILE;
return X_STATUS_NO_MORE_FILES;
}
}