mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-05-04 11:00:09 -05:00
impr: Code style improvements
This commit is contained in:
@@ -344,9 +344,10 @@ namespace hex::plugin::builtin::recent {
|
||||
s_recentEntries.clear();
|
||||
|
||||
// Remove all recent files
|
||||
for (const auto &recentPath : fs::getDefaultPaths(fs::ImHexPath::Recent))
|
||||
for (const auto &recentPath : fs::getDefaultPaths(fs::ImHexPath::Recent)) {
|
||||
for (const auto &entry : std::fs::directory_iterator(recentPath))
|
||||
std::fs::remove(entry.path());
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::EndMenu();
|
||||
|
||||
Reference in New Issue
Block a user