Closed Pheenoh closed 2 months ago
Thank you!
This feels weird to me -- isn't it the same as "if (handle->pattern.empty()) { return false; }"?
This feels weird to me -- isn't it the same as "if (handle->pattern.empty()) { return false; }"?
I don't completely understand the context here, but the handle's directory iterator not being iterated through was causing the file not found error in the linked issue due to an early return when there was an empty pattern, so that's why i moved it to the while loop.
Maybe there is a better fix, but I wanted to get something in here as it was breaking multiple projects using wibo with mwcceppc.exe
EDIT: Okay yeah this makes more sense lol
fixes #78