Mercurial > emacs
changeset 97720:b2594691f8f2
(get_named_tty): Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 26 Aug 2008 03:12:05 +0000 |
parents | 73388588c9b4 |
children | b66dc3bd60f4 |
files | src/term.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/term.c Tue Aug 26 03:11:45 2008 +0000 +++ b/src/term.c Tue Aug 26 03:12:05 2008 +0000 @@ -2232,7 +2232,7 @@ for (t = terminal_list; t; t = t->next_terminal) { - if (t->type == output_termcap || t->type == output_msdos_raw + if ((t->type == output_termcap || t->type == output_msdos_raw) && !strcmp (t->display_info.tty->name, name) && TERMINAL_ACTIVE_P (t)) return t;