summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-15 20:14:36 +0000
committernicm <nicm>2017-01-15 20:14:36 +0000
commita3cf99501782fc036d415369eb5a5d805eb9bdcc (patch)
tree25a012296f9de454e0df55b9a39dd29b746e21e2 /options.c
parente06efab9da1f4edb3cb631dc752d7786d5edb5cf (diff)
Append needs to go old,new not new,old...
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 811606b2..be7d4d9c 100644
--- a/options.c
+++ b/options.c
@@ -151,7 +151,7 @@ options_set_string(struct options *oo, const char *name, int append,
if (o == NULL || !append)
value = s;
else {
- xasprintf(&value, "%s%s", s, o->str);
+ xasprintf(&value, "%s%s", o->str, s);
free(s);
}