It's not "hideimage" in the config file, it's "image"

This commit is contained in:
speedie 2023-06-12 03:44:27 +02:00
parent 91178ad8ce
commit e553da35a9
2 changed files with 2 additions and 2 deletions

View file

@ -555,7 +555,7 @@ void conf_init(void) {
config_setting_lookup_int(conf, "matchcount", &hidematchcount); // spmenu.hide.matchcount
config_setting_lookup_int(conf, "mode", &hidemode); // spmenu.hide.mode
config_setting_lookup_int(conf, "caps", &hidecaps); // spmenu.hide.caps
config_setting_lookup_int(conf, "hideimage", &hideimage); // spmenu.hide.image
config_setting_lookup_int(conf, "image", &hideimage); // spmenu.hide.image
}
}

View file

@ -443,7 +443,7 @@ void theme_load(void) {
config_setting_lookup_int(conf, "matchcount", &hidematchcount); // theme.hide.matchcount
config_setting_lookup_int(conf, "mode", &hidemode); // theme.hide.mode
config_setting_lookup_int(conf, "caps", &hidecaps); // theme.hide.caps
config_setting_lookup_int(conf, "hideimage", &hideimage); // theme.hide.image
config_setting_lookup_int(conf, "image", &hideimage); // theme.hide.image
}
}