Commit e33f7330 authored by Karl Heuer's avatar Karl Heuer
Browse files

(x_set_menu_bar_lines_1): Don't use XFASTINT as an lvalue.

parent e43ec785
...@@ -1206,8 +1206,8 @@ x_set_menu_bar_lines_1 (window, n) ...@@ -1206,8 +1206,8 @@ x_set_menu_bar_lines_1 (window, n)
{ {
struct window *w = XWINDOW (window); struct window *w = XWINDOW (window);
XFASTINT (w->top) += n; XSETFASTINT (w->top, XFASTINT (w->top) + n);
XFASTINT (w->height) -= n; XSETFASTINT (w->height, XFASTINT (w->height) - n);
/* Handle just the top child in a vertical split. */ /* Handle just the top child in a vertical split. */
if (!NILP (w->vchild)) if (!NILP (w->vchild))
......
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