aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-09-19 00:16:58 +0000
committerKarl Heuer <[email protected]>1994-09-19 00:16:58 +0000
commit16a3738c96038f92866676208471bdedda8fed3a (patch)
treeccbef24020e6351a30d6befef7544328eba8eacc /src/frame.c
parent254277e15d6906634686a682bfc7a163b20d7be5 (diff)
(Fframe_parameters): Fix Lisp_Object vs. int problems.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 07378f8d3d..8998dd8eb9 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1429,8 +1429,12 @@ If FRAME is omitted, return information on the currently selected frame.")
x_report_frame_params (f, &alist);
else
#endif
- /* This ought to be correct in f->param_alist for an X frame. */
- store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f));
+ {
+ /* This ought to be correct in f->param_alist for an X frame. */
+ Lisp_Object lines;
+ XFASTINT (lines) = FRAME_MENU_BAR_LINES (f);
+ store_in_alist (&alist, Qmenu_bar_lines, lines);
+ }
return alist;
}