X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/555b10b098c1f9a0450e385d291386caae1dda4f..1ea40aa2f3b0809c27c4f095a7f8dde432fcc89d:/src/dispnew.c diff --git a/src/dispnew.c b/src/dispnew.c index 7a80a8a618..1778d5c818 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1993,7 +1993,7 @@ required_matrix_height (w) if (FRAME_WINDOW_P (f)) { int ch_height = FRAME_SMALLEST_FONT_HEIGHT (f); - int window_pixel_height = window_box_height (w) + abs (w->vscroll); + int window_pixel_height = window_box_height (w) + eabs (w->vscroll); return (((window_pixel_height + ch_height - 1) / ch_height) * w->nrows_scale_factor /* One partially visible line at the top and