aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}