summaryrefslogtreecommitdiffstats
path: root/style.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-12 15:36:35 +0000
committernicm <nicm>2017-01-12 15:36:35 +0000
commit24cba5907b5006363ac7f83f31801153f9c23b37 (patch)
tree9d6522e1a90ed7446f30231344077f1bbde03931 /style.c
parentdad3090d3201bd8272cb762beea8ef3aa8ce9673 (diff)
Simplify appending to string options.
Diffstat (limited to 'style.c')
-rw-r--r--style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.c b/style.c
index 8af739e5..f4a8f05f 100644
--- a/style.c
+++ b/style.c
@@ -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);