diff options
| author | Andreas Schwab | 1998-04-14 13:11:34 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 13:11:34 +0000 |
| commit | f8ad443a57aeb79c6551351ffd87713bc1939d80 (patch) | |
| tree | f3679360babf1a5041d70c55f7b290e8936a28d1 /src/window.c | |
| parent | a61e51f0d28c6dc5dd54ede046ce021613125d56 (diff) | |
| download | emacs-f8ad443a57aeb79c6551351ffd87713bc1939d80.tar.gz emacs-f8ad443a57aeb79c6551351ffd87713bc1939d80.zip | |
(Fset_window_configuration): Fix mixing of Lisp_Object
and int.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 221eac63ec0..1f4815eba3e 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3307,11 +3307,12 @@ by `current-window-configuration' (which see).") | |||
| 3307 | 3307 | ||
| 3308 | if (XFASTINT (data->frame_height) != previous_frame_height | 3308 | if (XFASTINT (data->frame_height) != previous_frame_height |
| 3309 | || XFASTINT (data->frame_width) != previous_frame_width) | 3309 | || XFASTINT (data->frame_width) != previous_frame_width) |
| 3310 | change_frame_size (f, data->frame_height, data->frame_width, 0, 0); | 3310 | change_frame_size (f, XFASTINT (data->frame_height), |
| 3311 | XFASTINT (data->frame_width), 0, 0); | ||
| 3311 | #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) | 3312 | #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) |
| 3312 | if (XFASTINT (data->frame_menu_bar_lines) | 3313 | if (XFASTINT (data->frame_menu_bar_lines) |
| 3313 | != previous_frame_menu_bar_lines) | 3314 | != previous_frame_menu_bar_lines) |
| 3314 | x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); | 3315 | x_set_menu_bar_lines (f, data->frame_menu_bar_lines, make_number (0)); |
| 3315 | #endif | 3316 | #endif |
| 3316 | 3317 | ||
| 3317 | if (! NILP (XWINDOW (selected_window)->buffer)) | 3318 | if (! NILP (XWINDOW (selected_window)->buffer)) |
| @@ -3462,7 +3463,8 @@ by `current-window-configuration' (which see).") | |||
| 3462 | 0, 0); | 3463 | 0, 0); |
| 3463 | #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) | 3464 | #if defined (HAVE_WINDOW_SYSTEM) || defined (MSDOS) |
| 3464 | if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) | 3465 | if (previous_frame_menu_bar_lines != FRAME_MENU_BAR_LINES (f)) |
| 3465 | x_set_menu_bar_lines (f, previous_frame_menu_bar_lines, 0); | 3466 | x_set_menu_bar_lines (f, make_number (previous_frame_menu_bar_lines), |
| 3467 | make_number (0)); | ||
| 3466 | #endif | 3468 | #endif |
| 3467 | 3469 | ||
| 3468 | UNBLOCK_INPUT; | 3470 | UNBLOCK_INPUT; |