Skip to content

Commit c153b4c

Browse files
gatecrasherrbrliron
authored andcommitted
Update search.cpp
1 parent 212ff3b commit c153b4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thcrap/src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static DWORD WINAPI SearchThread(void *param_)
187187
if (size < state->size_min || size > state->size_max)
188188
continue;
189189

190-
if (fs::path(currentPath).extension() == L".exe")
190+
if (ent->path().extension() == L".exe")
191191
SearchCheckExe(*state, *ent);
192192
}
193193
catch (std::system_error &) {}

0 commit comments

Comments
 (0)