mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04: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) {
|
else if (strcmp(key, "font") == 0) {
|
||||||
//free(conf->font);
|
|
||||||
//conf->font = strdup(value);
|
|
||||||
char *copy = strdup(value);
|
char *copy = strdup(value);
|
||||||
for (const char *font = strtok(copy, ","); font != NULL; font = strtok(NULL, ","))
|
for (const char *font = strtok(copy, ","); font != NULL; font = strtok(NULL, ","))
|
||||||
tll_push_back(conf->fonts, strdup(font));
|
tll_push_back(conf->fonts, strdup(font));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue