aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 01:51:22 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-01-10 01:51:22 +0000
commita1b43faa436430e76da7da5ee321113a87ce719c (patch)
tree3c2a5d5338d5db43f91ceccbb6d2fbea97f022ba /tty-term.c
parent430d2194362e177b55c5fc66ee95f3a968ed62e1 (diff)
downloadrtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.gz
rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.tar.bz2
rtmux-a1b43faa436430e76da7da5ee321113a87ce719c.zip
Trim spaces.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tty-term.c b/tty-term.c
index 9f705fc2..4a95219d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.2 2009-01-10 01:30:38 nicm Exp $ */
+/* $Id: tty-term.c,v 1.3 2009-01-10 01:51:22 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -152,7 +152,7 @@ tty_term_quirks(struct tty_term *term)
term->codes[TTYC_ICH1].type = TTYCODE_STRING;
term->codes[TTYC_ICH1].value.string = xstrdup("\033[@");
}
- }
+ }
}
struct tty_term *
@@ -202,7 +202,7 @@ tty_term_find(char *name, int fd, char **cause)
memset(&term->codes, 0, sizeof term->codes);
for (i = 0; i < NTTYCODE; i++) {
ent = &tty_term_codes[i];
-
+
code = &term->codes[ent->code];
code->type = TTYCODE_NONE;
switch (ent->type) {
@@ -321,7 +321,7 @@ tty_term_find(char *name, int fd, char **cause)
if (tty_term_number(term, TTYC_COLORS) == 256)
term->flags |= TERM_256COLOURS;
if (strstr(name, "256col") != NULL) /* XXX HACK */
- term->flags |= TERM_256COLOURS;
+ term->flags |= TERM_256COLOURS;
return (term);