changeset 9624:48854151266c

(Fdisplay_buffer): Make old_selected_window a Lisp_Object.
author Karl Heuer <kwzh@gnu.org>
date Thu, 20 Oct 1994 19:11:29 +0000
parents fe1c170fa35a
children 6ee76b67cbfa
files src/window.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Thu Oct 20 18:15:25 1994 +0000
+++ b/src/window.c	Thu Oct 20 19:11:29 1994 +0000
@@ -1988,9 +1988,10 @@
 	      && XWINDOW (other)->height > XWINDOW (window)->height)
 	    {
 	      int total = XWINDOW (other)->height + XWINDOW (window)->height;
-	      struct window *old_selected_window = selected_window;
-
-	      selected_window = XWINDOW (upper);
+	      Lisp_Object old_selected_window;
+	      old_selected_window = selected_window;
+
+	      selected_window = upper;
 	      change_window_height (total / 2 - XWINDOW (upper)->height, 0);
 	      selected_window = old_selected_window;
 	    }