diff src/window.c @ 3164:40590cba332a

(window_loop, case GET_LRU_WINDOW): Get frame's width properly.
author Richard M. Stallman <rms@gnu.org>
date Thu, 27 May 1993 03:46:21 +0000
parents e94a593c3952
children 0b71a5329961
line wrap: on
line diff
--- a/src/window.c	Thu May 27 03:33:12 1993 +0000
+++ b/src/window.c	Thu May 27 03:46:21 1993 +0000
@@ -1131,7 +1131,7 @@
 	  case GET_LRU_WINDOW:
 	    /* t as arg means consider only full-width windows */
 	    if (!NILP (obj) && XFASTINT (XWINDOW (w)->width)
-		!= FRAME_WIDTH (frame))
+		!= FRAME_WIDTH (XFRAME (WINDOW_FRAME (XWINDOW (w)))))
 	      break;
 #if 0
 	    /* Ignore invisible and iconified frames.  */