HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd2be1d
)
(redisplay_window): Avoid dividing negative numbers, since the rounding effect
author
Karl Heuer
<kwzh@gnu.org>
Mon, 14 Mar 1994 21:36:58 +0000
(21:36 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Mon, 14 Mar 1994 21:36:58 +0000
(21:36 +0000)
is implementation-defined.
src/xdisp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
1c8158a
..
f9cadc1
100644
(file)
--- 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);