]> code.delx.au - gnu-emacs/commitdiff
(Fset_window_configuration): Fix mixing of Lisp_Object
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:11:34 +0000 (13:11 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 13:11:34 +0000 (13:11 +0000)
and int.

src/window.c

index 221eac63ec083df28d09e9dc052f5a80e379e395..1f4815eba3e2e530b4ae6046c7d6ba1794a50c32 100644 (file)
@@ -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;