From 4673d3e553312610605c262d068c36563e3f321d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 1 Aug 1997 00:58:56 +0000 Subject: [PATCH] (direct_output_for_insert): Set last_point_x properly. --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2