Skip to content

Commit

Permalink
Update FindFiles.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydr10n committed Sep 6, 2021
1 parent 47c6561 commit 4534410
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion File/FindFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,12 @@ namespace Hydr10n {
return TRUE;
}
}
else if (!dwDepth)
return FALSE;
else if (errorOccuredEventHandler != nullptr && !errorOccuredEventHandler(lpPath, lpParam))
STOP();

return dwDepth ? TRUE : FALSE;
return TRUE;
};

(void)lstrcpynW(str, lpPath, UNICODE_STRING_MAX_CHARS);
Expand Down

0 comments on commit 4534410

Please sign in to comment.