0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI

Problem:    Error message for NUL byte in ScreenLines breaks Travis CI.
Solution:   Use a normal message fornow.
This commit is contained in:
Bram Moolenaar
2018-12-07 14:10:37 +01:00
parent 4087bfd96d
commit 9a8534673a
2 changed files with 9 additions and 2 deletions

View File

@@ -2758,9 +2758,14 @@ gui_redraw_block(
if (col1 > 0) if (col1 > 0)
--col1; --col1;
else else
{
// FIXME: how can the first character ever be zero? // FIXME: how can the first character ever be zero?
IEMSGN("INTERNAL ERROR: NUL in ScreenLines in row %ld", // Make this IEMSGN when it no longer breaks Travis CI.
gui.row); vim_snprintf((char *)IObuff, IOSIZE,
"INTERNAL ERROR: NUL in ScreenLines in row %ld",
(long)gui.row);
msg(IObuff);
}
} }
# ifdef FEAT_GUI_GTK # ifdef FEAT_GUI_GTK
if (col2 + 1 < Columns && ScreenLines[off + col2 + 1] == 0) if (col2 + 1 < Columns && ScreenLines[off + col2 + 1] == 0)

View File

@@ -792,6 +792,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
568,
/**/ /**/
567, 567,
/**/ /**/