diff --git a/tty-term.c b/tty-term.c index 3f893109..550fd16d 100644 --- a/tty-term.c +++ b/tty-term.c @@ -454,7 +454,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; } }