]> granicus.if.org Git - vim/commitdiff
patch 9.0.0209: build error with small features v9.0.0209
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Aug 2022 15:50:42 +0000 (16:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Aug 2022 15:50:42 +0000 (16:50 +0100)
Problem:    Build error with small features.
Solution:   Add #ifdef.

src/drawline.c
src/version.c

index 19070228c2aaf3f96b2a83f6ba36b1029b6cdd9a..d71c73d3196762b3d70f31b73e2f389a44ab5d50 100644 (file)
@@ -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)
index 00afb67e417d9f6b48547cfdf01ed2412ae1ad10..65afaf6a3aef9102d96489a38e38331b7ea1224b 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    209,
 /**/
     208,
 /**/