summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-14 16:50:42 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-14 16:50:42 +0100
commit677a39fdf6a61d77ae5d14faeb498f94fd8742ff (patch)
tree624f0068ecc337a8dd65eccaaece3057517df5e1 /src/drawline.c
parent9e7e28fc4c32337f2153b94fb08140f47e46e35d (diff)
patch 9.0.0209: build error with small featuresv9.0.0209
Problem: Build error with small features. Solution: Add #ifdef.
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 19070228c2..d71c73d319 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -2993,7 +2993,11 @@ win_line(
// Don't use "extra_attr" until n_attr_skip is zero.
if (n_attr_skip == 0 && n_attr > 0
&& wlv.draw_state == WL_LINE
- && (!attr_pri || (text_prop_flags & PT_FLAG_OVERRIDE)))
+ && (!attr_pri
+#ifdef FEAT_PROP_POPUP
+ || (text_prop_flags & PT_FLAG_OVERRIDE)
+#endif
+ ))
{
#ifdef LINE_ATTR
if (line_attr)