changeset 9329:4e1048594e7f

(x_set_menu_bar_lines_1): Don't use XFASTINT as an lvalue.
author Karl Heuer <kwzh@gnu.org>
date Tue, 04 Oct 1994 17:09:34 +0000
parents 4db4768d5857
children 28fcacb58a38
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Tue Oct 04 17:04:39 1994 +0000
+++ b/src/xfns.c	Tue Oct 04 17:09:34 1994 +0000
@@ -1206,8 +1206,8 @@
 {
   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))