aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-01 18:11:51 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-01 18:11:51 +0000
commit051dcdcba803211e05f7a8a53b44aac3af5a0056 (patch)
treec5e5b3ee2265478a23bf80143039512f454ef760
parentef7c891aaba2a69ab638c247a0212a4ab0b032da (diff)
downloadrtmux-051dcdcba803211e05f7a8a53b44aac3af5a0056.tar.gz
rtmux-051dcdcba803211e05f7a8a53b44aac3af5a0056.tar.bz2
rtmux-051dcdcba803211e05f7a8a53b44aac3af5a0056.zip
Fix all rxvt*.
-rw-r--r--tty-term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index 50b8d1f6..bd724814 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.8 2009-01-11 23:41:29 nicm Exp $ */
+/* $Id: tty-term.c,v 1.9 2009-02-01 18:11:51 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -134,7 +134,7 @@ tty_term_strip(const char *s)
void
tty_term_quirks(struct tty_term *term)
{
- if (strcmp(term->name, "rxvt") == 0) {
+ if (strncmp(term->name, "rxvt", 4) == 0) {
/* rxvt supports dch1 but some termcap files do not have it. */
if (!tty_term_has(term, TTYC_DCH1)) {
term->codes[TTYC_DCH1].type = TTYCODE_STRING;