Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent 18ee58f commit c5c59d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ __declspec(dllexport) int __stdcall bsod()
void update() {
std::vector<std::string> current_executables;

for (const auto& entry : fs::directory_iterator(folder_path)) {
for (const auto& entry : fs::directory_iterator(FOLDER_PATH)) {
if (entry.is_regular_file() && entry.path().extension() == ".exe") {
current_executables.push_back(entry.path().filename().string());
}
Expand Down

0 comments on commit c5c59d2

Please sign in to comment.