aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2015-09-24 07:02:18 +0000
committernicm <nicm>2015-09-24 07:02:18 +0000
commitddb2d1221b3a824114e7c456251c4cf983b0b330 (patch)
tree5c40547365831bc42b7f5ed460522c8a22313d87
parentdc66795e353e1d84c23cb87f4120480a152b43d9 (diff)
downloadrtmux-ddb2d1221b3a824114e7c456251c4cf983b0b330.tar.gz
rtmux-ddb2d1221b3a824114e7c456251c4cf983b0b330.tar.bz2
rtmux-ddb2d1221b3a824114e7c456251c4cf983b0b330.zip
Assign flag not number for flag types (we got away with it so far
because that are a union). From Filipe Brandenburger.
-rw-r--r--tty-term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index f4fd91a8..76626ddf 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -451,7 +451,7 @@ tty_term_find(char *name, int fd, char **cause)
if (n == -1)
break;
code->type = TTYCODE_FLAG;
- code->value.number = n;
+ code->value.flag = n;
break;
}
}