aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-04-22 03:37:30 +0000
committerChong Yidong2009-04-22 03:37:30 +0000
commite0c3684aca21b1eb1418271a6f8b97dbd035f419 (patch)
tree6cf01853119f7ab66461eab0dad357ff718c6053 /src
parent5222de629887cc1c97da051ca28dba3c6fa51373 (diff)
downloademacs-e0c3684aca21b1eb1418271a6f8b97dbd035f419.tar.gz
emacs-e0c3684aca21b1eb1418271a6f8b97dbd035f419.zip
Minor comment fix.
Diffstat (limited to 'src')
-rw-r--r--src/terminal.c13
1 files 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)
190 190
191 191
192 192
193/* Return the terminal object specified by TERMINAL. TERMINAL may be a 193/* Return the terminal object specified by TERMINAL. TERMINAL may be
194 terminal id, a frame, or nil for the terminal device of the current 194 a terminal object, a frame, or nil for the terminal device of the
195 frame. If THROW is zero, return NULL for failure, otherwise throw 195 current frame. If THROW is zero, return NULL for failure,
196 an error. */ 196 otherwise throw an error. */
197 197
198struct terminal * 198struct terminal *
199get_terminal (Lisp_Object terminal, int throw) 199get_terminal (Lisp_Object terminal, int throw)
@@ -205,11 +205,8 @@ get_terminal (Lisp_Object terminal, int throw)
205 205
206 if (TERMINALP (terminal)) 206 if (TERMINALP (terminal))
207 result = XTERMINAL (terminal); 207 result = XTERMINAL (terminal);
208
209 else if (FRAMEP (terminal)) 208 else if (FRAMEP (terminal))
210 { 209 result = FRAME_TERMINAL (XFRAME (terminal));
211 result = FRAME_TERMINAL (XFRAME (terminal));
212 }
213 210
214 if (result && !result->name) 211 if (result && !result->name)
215 result = NULL; 212 result = NULL;