]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_menu_bar_lines_1): Don't use XFASTINT as an lvalue.
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 17:09:34 +0000 (17:09 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 17:09:34 +0000 (17:09 +0000)
src/xfns.c

index fd691063ed539d878dc7dd3a09817767ac2fde24..da8ed3826dcc7dc947f503b8b000883f5b887351 100644 (file)
@@ -1206,8 +1206,8 @@ x_set_menu_bar_lines_1 (window, n)
 {
   struct window *w = XWINDOW (window);
 
-  XFASTINT (w->top) += n;
-  XFASTINT (w->height) -= n;
+  XSETFASTINT (w->top, XFASTINT (w->top) + n);
+  XSETFASTINT (w->height, XFASTINT (w->height) - n);
 
   /* Handle just the top child in a vertical split.  */
   if (!NILP (w->vchild))