mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
fix: Typo and formatting
This commit is contained in:
@@ -31,10 +31,12 @@ namespace hex::plugin::builtin::recent {
|
||||
auto fileName = hex::format("{:%y%m%d_%H%M%S}.json", fmt::gmtime(std::chrono::system_clock::now()));
|
||||
|
||||
// Do not save to recents if the provider is part of a project
|
||||
if (ProjectFile::hasPath()) return;
|
||||
if (ProjectFile::hasPath())
|
||||
return;
|
||||
|
||||
// Do not save to recents if the provider doesnt want it
|
||||
if (!provider->isSavableAsRecent()) return;
|
||||
// Do not save to recents if the provider doesn't want it
|
||||
if (!provider->isSavableAsRecent())
|
||||
return;
|
||||
|
||||
// The recent provider is saved to every "recent" directory
|
||||
for (const auto &recentPath : fs::getDefaultPaths(fs::ImHexPath::Recent)) {
|
||||
|
||||
Reference in New Issue
Block a user