To: vim_dev@googlegroups.com Subject: Patch 8.0.1621 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1621 Problem: Using invalid default value for highlight attribute. Solution: Use zero instead of -1. Files: src/syntax.c *** ../vim-8.0.1620/src/syntax.c 2018-03-04 18:07:04.284592244 +0100 --- src/syntax.c 2018-03-20 12:57:52.163042361 +0100 *************** *** 10044,10054 **** #ifdef USER_HIGHLIGHT char_u userhl[10]; # ifdef FEAT_STL_OPT - int id_SNC = -1; int id_S = -1; # ifdef FEAT_TERMINAL ! int id_ST = -1; ! int id_STNC = -1; # endif int hlcnt; # endif --- 10044,10054 ---- #ifdef USER_HIGHLIGHT char_u userhl[10]; # ifdef FEAT_STL_OPT int id_S = -1; + int id_SNC = 0; # ifdef FEAT_TERMINAL ! int id_ST = 0; ! int id_STNC = 0; # endif int hlcnt; # endif *** ../vim-8.0.1620/src/version.c 2018-03-20 12:34:00.138383018 +0100 --- src/version.c 2018-03-20 12:58:56.978690562 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1621, /**/ -- Give a man a computer program and you give him a headache, but teach him to program computers and you give him the power to create headaches for others for the rest of his life... R. B. Forest /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///