From 3696cce4ae83e27ac757bceaad6a0c9fa27525d4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 11 Sep 2010 15:43:11 +0000 Subject: [PATCH] Ignore terminal overrides settings without a value. --- tty-term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tty-term.c b/tty-term.c index 2338b42c..18858501 100644 --- a/tty-term.c +++ b/tty-term.c @@ -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];