diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-15 20:14:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-15 20:14:37 +0000 |
commit | ac97bcc2498fbffe15ca3ca6c89974941fc748bf (patch) | |
tree | 114b3d94b13b6535ebcd416e6f21fb56e0e06549 /usr.bin | |
parent | 91fc89a5039361367970f959cf8880ef42c7f518 (diff) |
Append needs to go old,new not new,old...
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/options.c b/usr.bin/tmux/options.c index bfc2d10c678..24cc81ba139 100644 --- a/usr.bin/tmux/options.c +++ b/usr.bin/tmux/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.24 2017/01/13 11:58:49 nicm Exp $ */ +/* $OpenBSD: options.c,v 1.25 2017/01/15 20:14:36 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |