From e0c3684aca21b1eb1418271a6f8b97dbd035f419 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 22 Apr 2009 03:37:30 +0000 Subject: [PATCH] Minor comment fix. --- src/terminal.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index f9001bbad38..d9951dba464 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -190,10 +190,10 @@ ins_del_lines (struct frame *f, int vpos, int n) -/* Return the terminal object specified by TERMINAL. TERMINAL may be a - terminal id, a frame, or nil for the terminal device of the current - frame. If THROW is zero, return NULL for failure, otherwise throw - an error. */ +/* Return the terminal object specified by TERMINAL. TERMINAL may be + a terminal object, a frame, or nil for the terminal device of the + current frame. If THROW is zero, return NULL for failure, + otherwise throw an error. */ struct terminal * get_terminal (Lisp_Object terminal, int throw) @@ -205,11 +205,8 @@ get_terminal (Lisp_Object terminal, int throw) if (TERMINALP (terminal)) result = XTERMINAL (terminal); - else if (FRAMEP (terminal)) - { - result = FRAME_TERMINAL (XFRAME (terminal)); - } + result = FRAME_TERMINAL (XFRAME (terminal)); if (result && !result->name) result = NULL; -- 2.39.2