Skip to content

Commit 2aa6d25

Browse files
committed
updated for version 7.4.371
Problem: When 'linebreak' is set control characters are not correctly displayed. (Kimmy Lindvall) Solution: Set n_extra. (Christian Brabandt)
1 parent 739115c commit 2aa6d25

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/screen.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4646,6 +4646,8 @@ win_line(wp, lnum, startrow, endrow, nochange)
46464646
else if (c != NUL)
46474647
{
46484648
p_extra = transchar(c);
4649+
if (n_extra == 0)
4650+
n_extra = byte2cells(c) - 1;
46494651
#ifdef FEAT_RIGHTLEFT
46504652
if ((dy_flags & DY_UHEX) && wp->w_p_rl)
46514653
rl_mirror(p_extra); /* reverse "<12>" */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
371,
737739
/**/
738740
370,
739741
/**/

0 commit comments

Comments
 (0)