(direct_output_for_insert): Don't change IT's
stop_charpos to something in front of its current position.
This commit is contained in:
parent
42d305db92
commit
ae76d741c2
1 changed files with 1 additions and 0 deletions
|
|
@ -3482,6 +3482,7 @@ direct_output_for_insert (g)
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue