Commit 16a3738c authored by Karl Heuer's avatar Karl Heuer

(Fframe_parameters): Fix Lisp_Object vs. int problems.

parent 254277e1
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment