From: Chong Yidong Date: Wed, 22 Apr 2009 03:37:30 +0000 (+0000) Subject: Minor comment fix. X-Git-Tag: emacs-pretest-23.0.93~74 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e0c3684aca21b1eb1418271a6f8b97dbd035f419;p=emacs.git Minor comment fix. --- 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;