mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
parent
3f57cb12b4
commit
3f898f5207
3 changed files with 30 additions and 33 deletions
|
|
@ -69,7 +69,11 @@ Error DirAccessWindows::list_dir_begin() {
|
|||
list_dir_end();
|
||||
p->h = FindFirstFileExW((current_dir + "\\*").c_str(), FindExInfoStandard, &p->fu, FindExSearchNameMatch, NULL, 0);
|
||||
|
||||
return (p->h == INVALID_HANDLE_VALUE) ? ERR_CANT_OPEN : OK;
|
||||
if (p->h == INVALID_HANDLE_VALUE) {
|
||||
return ERR_CANT_OPEN;
|
||||
}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
String DirAccessWindows::get_next() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue