Simplify appending to string options.

This commit is contained in:
nicm
2017-01-12 15:36:35 +00:00
parent dad3090d32
commit 24cba5907b
6 changed files with 44 additions and 52 deletions

View File

@ -143,7 +143,7 @@ style_update_new(struct options *oo, const char *name, const char *newname)
o = options_find1(oo, newname);
if (o == NULL)
o = options_set_style(oo, newname, "default", 0);
o = options_set_style(oo, newname, 0, "default");
gc = &o->style;
o = options_find1(oo, name);