# HG changeset patch # User Gerd Moellmann # Date 1000128334 0 # Node ID d86fe98ee7d52f9dc2ec7ebdddc3d8638347f85b # Parent 3fa6a6d821525fbe0d9130527cc3e4ec066b77c4 (direct_output_for_insert): Don't change IT's stop_charpos to something in front of its current position. diff -r 3fa6a6d82152 -r d86fe98ee7d5 src/dispnew.c --- a/src/dispnew.c Mon Sep 10 09:37:02 2001 +0000 +++ b/src/dispnew.c Mon Sep 10 13:25:34 2001 +0000 @@ -3482,6 +3482,7 @@ it.current_y = w->cursor.y; it.end_charpos = PT; it.stop_charpos = min (PT, it.stop_charpos); + it.stop_charpos = max (IT_CHARPOS (it), it.stop_charpos); /* More than one display element may be returned for PT - 1 if (i) it's a control character which is translated into `\003' or