aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-21 07:00:09 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-21 07:00:09 +0000
commitfc9107a16aa9a8674c7b049ecc68ea25bb026df6 (patch)
treeccfad762d805acb1255189573e765abeddd4495f /tmux.h
parentc7a8db55438deae5214956cbba42a3833c8ec0c9 (diff)
downloadrtmux-fc9107a16aa9a8674c7b049ecc68ea25bb026df6.tar.gz
rtmux-fc9107a16aa9a8674c7b049ecc68ea25bb026df6.tar.bz2
rtmux-fc9107a16aa9a8674c7b049ecc68ea25bb026df6.zip
Drop tiny union from option struct.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index b69621d6..64409ae8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -545,10 +545,9 @@ struct options_entry {
OPTIONS_STRING,
OPTIONS_NUMBER,
} type;
- union {
- char *string;
- long long number;
- } value;
+
+ char *str;
+ long long num;
SPLAY_ENTRY(options_entry) entry;
};