From ddb2d1221b3a824114e7c456251c4cf983b0b330 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 24 Sep 2015 07:02:18 +0000 Subject: [PATCH] Assign flag not number for flag types (we got away with it so far because that are a union). From Filipe Brandenburger. --- tty-term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }