File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4189,7 +4189,9 @@ win_line(
41894189 }
41904190 else
41914191 {
4192+ #ifdef FEAT_LINEBREAK
41924193 int c0 ;
4194+ #endif
41934195
41944196 if (p_extra_free != NULL )
41954197 {
@@ -4199,7 +4201,9 @@ win_line(
41994201 /*
42004202 * Get a character from the line itself.
42014203 */
4204+ #ifdef FEAT_LINEBREAK
42024205 c0 = c = * ptr ;
4206+ #endif
42034207#ifdef FEAT_MBYTE
42044208 if (has_mbyte )
42054209 {
@@ -4216,7 +4220,12 @@ win_line(
42164220 /* Overlong encoded ASCII or ASCII with composing char
42174221 * is displayed normally, except a NUL. */
42184222 if (mb_c < 0x80 )
4219- c0 = c = mb_c ;
4223+ {
4224+ c = mb_c ;
4225+ # ifdef FEAT_LINEBREAK
4226+ c0 = mb_c ;
4227+ # endif
4228+ }
42204229 mb_utf8 = TRUE;
42214230
42224231 /* At start of the line we can have a composing char.
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 382 ,
767769/**/
768770 381 ,
769771/**/
You can’t perform that action at this time.
0 commit comments