mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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)
This commit is contained in:
@@ -4646,6 +4646,8 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
||||
else if (c != NUL)
|
||||
{
|
||||
p_extra = transchar(c);
|
||||
if (n_extra == 0)
|
||||
n_extra = byte2cells(c) - 1;
|
||||
#ifdef FEAT_RIGHTLEFT
|
||||
if ((dy_flags & DY_UHEX) && wp->w_p_rl)
|
||||
rl_mirror(p_extra); /* reverse "<12>" */
|
||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
371,
|
||||
/**/
|
||||
370,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user