From: Richard M. Stallman Date: Fri, 1 Aug 1997 00:58:56 +0000 (+0000) Subject: (direct_output_for_insert): Set last_point_x properly. X-Git-Tag: emacs-20.1~883 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4673d3e553312610605c262d068c36563e3f321d;p=emacs.git (direct_output_for_insert): Set last_point_x properly. --- 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);