Corrected QueryDirectory return code for no more files.
This commit is contained in:
parent
4c77616ef9
commit
ff1a3aaa67
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue