Skip to content

Commit

Permalink
Fix #682; clink config commands don't work with a fresh Clink profile.
Browse files Browse the repository at this point in the history
It's due to a bug that's existed since commit 921ca4f in 2021/09.

The `settings.set()` API cancelled itself by mistake if there was no
clink_settings file (it accidentally treated that as failure).
  • Loading branch information
chrisant996 committed Oct 14, 2024
1 parent 1fe2e10 commit e61ed63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clink/core/src/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ bool load(const char* file, const char* default_file)
path::append(old_file, "settings");
in = fopen(old_file.c_str(), "rb");
if (in == nullptr)
return false;
return true;
migrating = true;
}

Expand Down

0 comments on commit e61ed63

Please sign in to comment.