changeset 20676:96075a98e445

(window_scroll): Set opoint_byte properly.
author Richard M. Stallman <rms@gnu.org>
date Mon, 19 Jan 1998 19:24:04 +0000
parents 483ae4df691a
children 3cb3da7382f5
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Jan 18 06:40:52 1998 +0000
+++ b/src/window.c	Mon Jan 19 19:24:04 1998 +0000
@@ -2767,7 +2767,7 @@
 {
   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;