diff options
author | Dmitry Antipov <[email protected]> | 2012-06-28 16:29:37 +0400 |
---|---|---|
committer | Dmitry Antipov <[email protected]> | 2012-06-28 16:29:37 +0400 |
commit | 80b00b0885b8e124a208dfc9de95d2039a101108 (patch) | |
tree | 8954c62ff23338f8a2c6063cccab6d40d8707e02 /src/indent.c | |
parent | 62b2bcf611f144f4dea5a073a362e187970609f6 (diff) |
* window.h (struct window): Change type of 'hscroll',
'min_hscroll' and 'last_point' from Lisp_Object to ptrdiff_t,
'last_modified' and 'last_overlay_modified' to EMACS_INT.
Adjust users accordingly.
* xdisp.c (try_cursor_movement): Replace type check with eassert.
* window.c (Fscroll_left, Fscroll_right): Change type of 'hscroll'
from EMACS_INT to ptrdiff_t.
(make_window): Omit redundant initialization.
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indent.c b/src/indent.c index 88cc0ab479..ec0977d537 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1817,7 +1817,7 @@ static struct position val_vmotion; struct position * vmotion (register ptrdiff_t from, register EMACS_INT vtarget, struct window *w) { - ptrdiff_t hscroll = XINT (w->hscroll); + ptrdiff_t hscroll = w->hscroll; struct position pos; /* vpos is cumulative vertical position, changed as from is changed */ register EMACS_INT vpos = 0; |