diff options
| author | Karl Heuer | 1994-09-19 00:16:58 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-09-19 00:16:58 +0000 |
| commit | 16a3738c96038f92866676208471bdedda8fed3a (patch) | |
| tree | ccbef24020e6351a30d6befef7544328eba8eacc /src | |
| parent | 254277e15d6906634686a682bfc7a163b20d7be5 (diff) | |
| download | emacs-16a3738c96038f92866676208471bdedda8fed3a.tar.gz emacs-16a3738c96038f92866676208471bdedda8fed3a.zip | |
(Fframe_parameters): Fix Lisp_Object vs. int problems.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index 07378f8d3d7..8998dd8eb91 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1429,8 +1429,12 @@ If FRAME is omitted, return information on the currently selected frame.") | |||
| 1429 | x_report_frame_params (f, &alist); | 1429 | x_report_frame_params (f, &alist); |
| 1430 | else | 1430 | else |
| 1431 | #endif | 1431 | #endif |
| 1432 | /* This ought to be correct in f->param_alist for an X frame. */ | 1432 | { |
| 1433 | store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f)); | 1433 | /* This ought to be correct in f->param_alist for an X frame. */ |
| 1434 | Lisp_Object lines; | ||
| 1435 | XFASTINT (lines) = FRAME_MENU_BAR_LINES (f); | ||
| 1436 | store_in_alist (&alist, Qmenu_bar_lines, lines); | ||
| 1437 | } | ||
| 1434 | return alist; | 1438 | return alist; |
| 1435 | } | 1439 | } |
| 1436 | 1440 | ||