aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-25 10:42:08 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-25 10:42:08 +0000
commitd55ee38c7f7de8dc4fbe7a855cd3c284f6b340c5 (patch)
tree9a88cb0ff4bf1be5fce83aa55b7bf9031351dc07
parente214ea1c5925b5ebf6e6626a3e1713e6824b75f1 (diff)
downloadrtmux-d55ee38c7f7de8dc4fbe7a855cd3c284f6b340c5.tar.gz
rtmux-d55ee38c7f7de8dc4fbe7a855cd3c284f6b340c5.tar.bz2
rtmux-d55ee38c7f7de8dc4fbe7a855cd3c284f6b340c5.zip
Sync OpenBSD patchset 443:
Bring a comment into line with reality.
-rw-r--r--tty-term.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tty-term.c b/tty-term.c
index e77e09b0..46e8c462 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.32 2009-10-15 01:33:21 tcunha Exp $ */
+/* $Id: tty-term.c,v 1.33 2009-10-25 10:42:08 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -358,11 +358,7 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
if (strcmp(tty_term_string(term, TTYC_OP), "\033[39;49m") == 0)
term->flags |= TERM_HASDEFAULTS;
- /*
- * Try to figure out if we have 256 or 88 colours. The standard xterm
- * definitions are broken (well, or the way they are parsed is: in any
- * case they end up returning 8). So also do a hack.
- */
+ /* Figure out if we have 256 or 88 colours. */
if (tty_term_number(term, TTYC_COLORS) == 256)
term->flags |= TERM_256COLOURS;
if (tty_term_number(term, TTYC_COLORS) == 88)