summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tmux/tty-term.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 6c42dbbcfe2..c3198d9c896 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.16 2009/12/03 22:50:10 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.17 2010/09/11 15:43:11 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -249,7 +249,8 @@ tty_term_override(struct tty_term *term, const char *overrides)
} else if (entstr[strlen(entstr) - 1] == '@') {
entstr[strlen(entstr) - 1] = '\0';
removeflag = 1;
- }
+ } else
+ continue;
for (i = 0; i < NTTYCODE; i++) {
ent = &tty_term_codes[i];