diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-09-08 15:10:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 15:10:18 -0700 |
commit | ccd947ca4a25edb59e00724d6fb20fb01f3b73f7 (patch) | |
tree | 87f69fb031fb2ee77f1c7ee64144bbc48ad70236 /scripts/gen_vimdoc.py | |
parent | d91f4cd7d0b9778ad8ed630d5b8dc6b197513f51 (diff) | |
download | rneovim-ccd947ca4a25edb59e00724d6fb20fb01f3b73f7.tar.gz rneovim-ccd947ca4a25edb59e00724d6fb20fb01f3b73f7.tar.bz2 rneovim-ccd947ca4a25edb59e00724d6fb20fb01f3b73f7.zip |
vim-patch:8.0.0970: passing invalid highlight id #10972
(We don't implement StatusLineTerm{NC}, but this patch seems generally relevant.)
Problem: if there is no StatusLine highlighting and there is StatusLineNC
or StatusLineTermNC highlighting then an invalid highlight id is
passed to combine_stl_hlt(). (Coverity)
Solution: Check id_S to be -1 instead of zero.
https://github.com/vim/vim/commit/d6a7b3e6bbb8f87507de68d86cf70eab806aab3a
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions