summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-10-06 07:36:42 +0000
committernicm <nicm@openbsd.org>2020-10-06 07:36:42 +0000
commit00b2210f7cb0bad50a735d15dccfe6b434ede6a6 (patch)
treedc58ac8e89c53e88c827c5a0dd1dc275cc3dde9b
parentAdd a state struct to store working state during format expansion (diff)
downloadwireguard-openbsd-00b2210f7cb0bad50a735d15dccfe6b434ede6a6.tar.xz
wireguard-openbsd-00b2210f7cb0bad50a735d15dccfe6b434ede6a6.zip
Fix a last minute change in previous.
-rw-r--r--usr.bin/tmux/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c
index 360a7c1ffd2..357b42744b3 100644
--- a/usr.bin/tmux/format.c
+++ b/usr.bin/tmux/format.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: format.c,v 1.263 2020/10/06 07:36:05 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.264 2020/10/06 07:36:42 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -259,7 +259,7 @@ format_copy_state(struct format_expand_state *to,
to->ft = from->ft;
to->loop = from->loop;
to->time = from->time;
- to->flags = from->flags|flag;
+ to->flags = from->flags|flags;
}
/* Format job update callback. */