You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
committed by
Rémi Verschelde
parent
3f57cb12b4
commit
3f898f5207
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user