summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-08-01 00:58:56 +0000
committerRichard M. Stallman <rms@gnu.org>1997-08-01 00:58:56 +0000
commit2ef0aad7fcdbc55a9861c7336ef50f12025f5299 (patch)
tree2e0bbbc49d536ac73f8bd031f432475d688b07f7
parentc897a3ac495ebf8f4d4b2be79823a75230fb020d (diff)
downloademacs-2ef0aad7fcdbc55a9861c7336ef50f12025f5299.tar.gz
(direct_output_for_insert): Set last_point_x properly.
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 9af8b1a41e7..36643594cb0 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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);