diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-09-11 15:43:11 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-09-11 15:43:11 +0000 |
commit | 3696cce4ae83e27ac757bceaad6a0c9fa27525d4 (patch) | |
tree | 8dda7628bbf52efe676003d9542e658e5d71d18b | |
parent | c1c5f43a012aa6c00e6445e062f9d915bcaa756e (diff) |
Ignore terminal overrides settings without a value.
-rw-r--r-- | tty-term.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]; |