Corrected QueryDirectory return code for no more files.
This commit is contained in:
@@ -61,7 +61,7 @@ X_STATUS XFile::QueryDirectory(X_FILE_DIRECTORY_INFORMATION* out_info,
|
|||||||
|
|
||||||
entry = file_->entry()->IterateChildren(find_engine_, &find_index_);
|
entry = file_->entry()->IterateChildren(find_engine_, &find_index_);
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
return X_STATUS_NO_SUCH_FILE;
|
return X_STATUS_NO_MORE_FILES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user