From f8ad443a57aeb79c6551351ffd87713bc1939d80 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 14 Apr 1998 13:11:34 +0000 Subject: [PATCH] (Fset_window_configuration): Fix mixing of Lisp_Object and int. --- src/window.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/window.c b/src/window.c index 221eac63ec..1f4815eba3 100644 --- a/src/window.c +++ b/src/window.c @@ -3307,11 +3307,12 @@ by `current-window-configuration' (which see).") if (XFASTINT (data->frame_height) != previous_frame_height || XFASTINT (data->frame_width) != previous_frame_width) - change_frame_size (f, data->frame_height, data->frame_width, 0, 0); + change_frame_size (f, XFASTINT (data->frame_height), + XFASTINT (data->frame_width), 0, 0); #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) if (XFASTINT (data->frame_menu_bar_lines) != previous_frame_menu_bar_lines) - x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); + x_set_menu_bar_lines (f, data->frame_menu_bar_lines, make_number (0)); #endif if (! NILP (XWINDOW (selected_window)->buffer)) @@ -3462,7 +3463,8 @@ by `current-window-configuration' (which see).") 0, 0); #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) - x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); + x_set_menu_bar_lines (f, make_number (previous_frame_menu_bar_lines), + make_number (0)); #endif UNBLOCK_INPUT; -- 2.39.2