aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-10-04 17:09:34 +0000
committerKarl Heuer1994-10-04 17:09:34 +0000
commite33f733040db4034bf626614d598b75b49240d44 (patch)
treeeddc8dbd9457527bad71cfadb94ec8dac7091132 /src
parente43ec7859eecaf697476db674075d268c1d7a4f1 (diff)
downloademacs-e33f733040db4034bf626614d598b75b49240d44.tar.gz
emacs-e33f733040db4034bf626614d598b75b49240d44.zip
(x_set_menu_bar_lines_1): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index fd691063ed5..da8ed3826dc 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1206,8 +1206,8 @@ x_set_menu_bar_lines_1 (window, n)
1206{ 1206{
1207 struct window *w = XWINDOW (window); 1207 struct window *w = XWINDOW (window);
1208 1208
1209 XFASTINT (w->top) += n; 1209 XSETFASTINT (w->top, XFASTINT (w->top) + n);
1210 XFASTINT (w->height) -= n; 1210 XSETFASTINT (w->height, XFASTINT (w->height) - n);
1211 1211
1212 /* Handle just the top child in a vertical split. */ 1212 /* Handle just the top child in a vertical split. */
1213 if (!NILP (w->vchild)) 1213 if (!NILP (w->vchild))