change: tags keyword change to tagrule

This commit is contained in:
DreamMaoMao 2025-05-31 13:45:16 +08:00
parent 54974d498b
commit 0143d61b58
2 changed files with 10 additions and 10 deletions

View file

@ -1035,7 +1035,7 @@ void parse_config_line(Config *config, const char *line) {
trim_whitespace(config->autostart[0]);
trim_whitespace(config->autostart[1]);
trim_whitespace(config->autostart[2]);
} else if (strcmp(key, "tags") == 0) {
} else if (strcmp(key, "tagrule") == 0) {
config->tag_rules =
realloc(config->tag_rules,
(config->tag_rules_count + 1) * sizeof(ConfigTagRule));