]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_for_insert): Set last_point_x properly.
authorRichard M. Stallman <rms@gnu.org>
Fri, 1 Aug 1997 00:58:56 +0000 (00:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 1 Aug 1997 00:58:56 +0000 (00:58 +0000)
src/dispnew.c

index 9af8b1a41e74780cd2d9bf6e078f87abd5fb1b3a..36643594cb03608e07bd4c7ae39c51999fdf5976 100644 (file)
@@ -1094,7 +1094,7 @@ direct_output_for_insert (g)
   unchanged_modified = MODIFF;
   beg_unchanged = GPT - BEG;
   XSETFASTINT (w->last_point, PT);
-  XSETFASTINT (w->last_point_x, hpos);
+  XSETFASTINT (w->last_point_x, hpos + 1);
   XSETFASTINT (w->last_modified, MODIFF);
   XSETFASTINT (w->last_overlay_modified, OVERLAY_MODIFF);