feat: load/save state from number hotkeys
This commit is contained in:
@@ -75,9 +75,12 @@ void config_file_read(ConfigFile *config, const char *path) {
|
||||
file_read(&file, path);
|
||||
|
||||
if (file.error) {
|
||||
config->error = true;
|
||||
return;
|
||||
}
|
||||
|
||||
config->error = false;
|
||||
|
||||
line = strtok_r(file.content, "\n", &rest);
|
||||
|
||||
while (line != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user