diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 287133a2d4a..6303ceb3dca 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2232,7 +2232,7 @@ get_named_tty (name) | |||
| 2232 | 2232 | ||
| 2233 | for (t = terminal_list; t; t = t->next_terminal) | 2233 | for (t = terminal_list; t; t = t->next_terminal) |
| 2234 | { | 2234 | { |
| 2235 | if (t->type == output_termcap || t->type == output_msdos_raw | 2235 | if ((t->type == output_termcap || t->type == output_msdos_raw) |
| 2236 | && !strcmp (t->display_info.tty->name, name) | 2236 | && !strcmp (t->display_info.tty->name, name) |
| 2237 | && TERMINAL_ACTIVE_P (t)) | 2237 | && TERMINAL_ACTIVE_P (t)) |
| 2238 | return t; | 2238 | return t; |