To: vim_dev@googlegroups.com Subject: Patch 8.2.3538 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3538 Problem: Else-if indenting is confusing. Solution: Add curly brackets. (Yegappan Lakshmanan, closes #9017) Files: src/highlight.c *** ../vim-8.2.3537/src/highlight.c 2021-10-18 22:13:53.468428157 +0100 --- src/highlight.c 2021-10-19 13:42:56.339353529 +0100 *************** *** 2819,2828 **** attr = HL_TABLE()[id - 1].sg_gui; else #endif ! if (modec == 'c') ! attr = HL_TABLE()[id - 1].sg_cterm; ! else ! attr = HL_TABLE()[id - 1].sg_term; if (attr & flag) return (char_u *)"1"; --- 2819,2830 ---- attr = HL_TABLE()[id - 1].sg_gui; else #endif ! { ! if (modec == 'c') ! attr = HL_TABLE()[id - 1].sg_cterm; ! else ! attr = HL_TABLE()[id - 1].sg_term; ! } if (attr & flag) return (char_u *)"1"; *** ../vim-8.2.3537/src/version.c 2021-10-19 11:15:36.118656545 +0100 --- src/version.c 2021-10-19 13:44:17.552774743 +0100 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3538, /**/ -- Some of the well known MS-Windows errors: ETIME Wrong time, wait a little while ECRASH Try again... EDETECT Unable to detect errors EOVER You lost! Play another game? ENOCLUE Eh, what did you want? /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///