config: remove commented out code

This commit is contained in:
Daniel Eklöf 2019-07-30 22:03:07 +02:00
parent 10536aad3f
commit db6939fdc5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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));