changeset 103046:9637720d550b

Minor comment fix.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 22 Apr 2009 03:37:30 +0000
parents 1699b004aa7f
children 997f1f1cac08
files src/terminal.c
diffstat 1 files changed, 5 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/terminal.c	Wed Apr 22 01:29:46 2009 +0000
+++ b/src/terminal.c	Wed Apr 22 03:37:30 2009 +0000
@@ -190,10 +190,10 @@
 
 
 
-/* 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 @@
 
   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;