commit | af6e36ff16736106a1bc63bb4d01f51fdfeb29a2 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 12:56:33 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 12:56:33 2016 +0100 |
tree | 12d4c87c4da420415f12f7cc0bc8b881d3eeed2e | |
parent | 5f148ec0b5a6cedd9129b3abac351034b83cc4f7 [diff] [blame] |
patch 7.4.1511 Problem: Statusline highlighting is sometimes wrong. Solution: Check for Highlight type. (Christian Brabandt)
diff --git a/src/buffer.c b/src/buffer.c index 26d7723..9ef8a50 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -3722,7 +3722,7 @@ { /* remove group if all items are empty */ for (n = groupitem[groupdepth] + 1; n < curitem; n++) - if (item[n].type == Normal) + if (item[n].type == Normal || item[n].type == Highlight) break; if (n == curitem) {