]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.1600: crash when setting t_Co to zero when 'termguicolors' is set 857/head v8.0.1600
authorBram Moolenaar <Bram@vim.org>
Mon, 12 Mar 2018 20:48:32 +0000 (21:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 12 Mar 2018 20:48:32 +0000 (21:48 +0100)
commitf708ac592f47100a36f2bc12ec98ea6357fdfa27
treed7344fd69b4d52c81288b2d2881a3f625e04e70b
parent3e4b84d0b55936ac017d20df6651ddd05e38f58f
patch 8.0.1600: crash when setting t_Co to zero when 'termguicolors' is set

Problem:    Crash when setting t_Co to zero when 'termguicolors' is set.
Solution:   Use IS_CTERM instead of checking the number of colors.
            (closes #2710)
src/screen.c
src/testdir/test_highlight.vim
src/version.c