File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2753,9 +2753,15 @@ gui_redraw_block(
27532753 }
27542754 else if (enc_utf8 )
27552755 {
2756- // FIXME: how can the first character ever be zero?
2757- if (col1 > 0 && ScreenLines [off + col1 ] == 0 )
2758- -- col1 ;
2756+ if (ScreenLines [off + col1 ] == 0 )
2757+ {
2758+ if (col1 > 0 )
2759+ -- col1 ;
2760+ else
2761+ // FIXME: how can the first character ever be zero?
2762+ IEMSGN ("INTERNAL ERROR: NUL in ScreenLines in row %ld" ,
2763+ gui .row );
2764+ }
27592765# ifdef FEAT_GUI_GTK
27602766 if (col2 + 1 < Columns && ScreenLines [off + col2 + 1 ] == 0 )
27612767 ++ col2 ;
Original file line number Diff line number Diff line change @@ -792,6 +792,8 @@ static char *(features[]) =
792792
793793static int included_patches [] =
794794{ /* Add new patch number below this line */
795+ /**/
796+ 567 ,
795797/**/
796798 566 ,
797799/**/
You can’t perform that action at this time.
0 commit comments