Mercurial > vim
comparison src/gui.c @ 15115:f17110dae9de v8.1.0568
patch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI
commit https://github.com/vim/vim/commit/9a8534673acd98d7398c967fe4348df63e689dab
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 7 14:10:37 2018 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Dec 2018 14:15:05 +0100 |
parents | ae25a1172514 |
children | f2972ff144ab |
comparison
equal
deleted
inserted
replaced
15114:87237010fcf9 | 15115:f17110dae9de |
---|---|
2756 if (ScreenLines[off + col1] == 0) | 2756 if (ScreenLines[off + col1] == 0) |
2757 { | 2757 { |
2758 if (col1 > 0) | 2758 if (col1 > 0) |
2759 --col1; | 2759 --col1; |
2760 else | 2760 else |
2761 { | |
2761 // FIXME: how can the first character ever be zero? | 2762 // FIXME: how can the first character ever be zero? |
2762 IEMSGN("INTERNAL ERROR: NUL in ScreenLines in row %ld", | 2763 // Make this IEMSGN when it no longer breaks Travis CI. |
2763 gui.row); | 2764 vim_snprintf((char *)IObuff, IOSIZE, |
2765 "INTERNAL ERROR: NUL in ScreenLines in row %ld", | |
2766 (long)gui.row); | |
2767 msg(IObuff); | |
2768 } | |
2764 } | 2769 } |
2765 # ifdef FEAT_GUI_GTK | 2770 # ifdef FEAT_GUI_GTK |
2766 if (col2 + 1 < Columns && ScreenLines[off + col2 + 1] == 0) | 2771 if (col2 + 1 < Columns && ScreenLines[off + col2 + 1] == 0) |
2767 ++col2; | 2772 ++col2; |
2768 # endif | 2773 # endif |