summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index 275efe2f..ae103fd7 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -688,7 +688,7 @@ tty_term_read_list(const char *name, int fd, char ***caps, u_int *ncaps,
ent = &tty_term_codes[i];
switch (ent->type) {
case TTYCODE_NONE:
- break;
+ continue;
case TTYCODE_STRING:
s = tigetstr((char *)ent->name);
if (s == NULL || s == (char *)-1)