diff src/frame-tty.c @ 380:8626e4521993 r21-2-5

Import from CVS: tag r21-2-5
author cvs
date Mon, 13 Aug 2007 11:07:10 +0200
parents c42ec1d1cded
children 74fd4e045ea6
line wrap: on
line diff
--- a/src/frame-tty.c	Mon Aug 13 11:06:08 2007 +0200
+++ b/src/frame-tty.c	Mon Aug 13 11:07:10 2007 +0200
@@ -155,13 +155,11 @@
 static void
 tty_raise_frame_no_select (struct frame *f)
 {
-  struct frame *o;
-  Lisp_Object tail;
-
-  LIST_LOOP (tail, DEVICE_FRAME_LIST (XDEVICE (FRAME_DEVICE (f))))
+  Lisp_Object frame;
+  LIST_LOOP_2 (frame, DEVICE_FRAME_LIST (XDEVICE (FRAME_DEVICE (f))))
     {
-      o = XFRAME (XCAR (tail));
-      if (o != f && FRAME_REPAINT_P(o))
+      struct frame *o = XFRAME (frame);
+      if (o != f && FRAME_REPAINT_P (o))
 	{
 	   tty_make_frame_hidden (o);
 	   break;
@@ -216,7 +214,7 @@
 }
 
 /************************************************************************/
-/*                            initialization                            */
+/*			      initialization				*/
 /************************************************************************/
 
 void