mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: remove commented out code
This commit is contained in:
parent
10536aad3f
commit
db6939fdc5
1 changed files with 0 additions and 2 deletions
2
config.c
2
config.c
|
|
@ -147,8 +147,6 @@ parse_section_main(const char *key, const char *value, struct config *conf,
|
|||
}
|
||||
|
||||
else if (strcmp(key, "font") == 0) {
|
||||
//free(conf->font);
|
||||
//conf->font = strdup(value);
|
||||
char *copy = strdup(value);
|
||||
for (const char *font = strtok(copy, ","); font != NULL; font = strtok(NULL, ","))
|
||||
tll_push_back(conf->fonts, strdup(font));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue