# HG changeset patch # User Karl Heuer # Date 782680289 0 # Node ID 48854151266c0617fd1932a82d83e97484fa33b5 # Parent fe1c170fa35a0e843b3c92cfba5e66684f116ea8 (Fdisplay_buffer): Make old_selected_window a Lisp_Object. diff -r fe1c170fa35a -r 48854151266c src/window.c --- 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; }