From: Richard M. Stallman Date: Mon, 19 Jan 1998 19:24:04 +0000 (+0000) Subject: (window_scroll): Set opoint_byte properly. X-Git-Tag: emacs-20.3~2398 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cb8419b5e667b4b404ef4c76bf54da7a54ee281b;p=emacs.git (window_scroll): Set opoint_byte properly. --- diff --git a/src/window.c b/src/window.c index af3191b224a..56ecd087db5 100644 --- a/src/window.c +++ b/src/window.c @@ -2767,7 +2767,7 @@ window_scroll (window, n, whole, noerror) { register struct window *w = XWINDOW (window); register int opoint = PT; - register int opoint_byte = PT; + register int opoint_byte = PT_BYTE; register int pos, pos_byte; register int ht = window_internal_height (w); register Lisp_Object tem;