diff options
| author | Karl Heuer <kwzh@gnu.org> | 1994-03-14 21:36:58 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1994-03-14 21:36:58 +0000 |
| commit | 484ab76a03aaacb8fab20396f1f8055001a69459 (patch) | |
| tree | 01eaeed50c11b62117fa3e3bf957b251f51b68b9 /src | |
| parent | cd2be1ddb82fbfc4a0e7f4c47ae972ed61b1bf22 (diff) | |
| download | emacs-484ab76a03aaacb8fab20396f1f8055001a69459.tar.gz | |
(redisplay_window): Avoid dividing negative numbers, since the rounding effect
is implementation-defined.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 1c8158a80f2..f9cadc18c9d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1297,7 +1297,7 @@ recenter: /* Forget any previously recorded base line for line number display. */ w->base_line_number = Qnil; - pos = *vmotion (point, - height / 2, width, hscroll, window); + pos = *vmotion (point, - (height / 2), width, hscroll, window); try_window (window, pos.bufpos); startp = marker_position (w->start); |
