diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 4 |
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)) |