]> granicus.if.org Git - vim/commitdiff
patch 8.2.0616: build error when disabling the diff feature v8.2.0616
authorBram Moolenaar <Bram@vim.org>
Tue, 21 Apr 2020 20:23:15 +0000 (22:23 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 21 Apr 2020 20:23:15 +0000 (22:23 +0200)
Problem:    Build error when disabling the diff feature.
Solution:   Move parenthesis outside of #ifdef. (Tom Ryder)

src/drawline.c
src/version.c

index 1544dae2840402fea14197e3118120d90c947408..8de307aa6e5f32e58b2214b0c4c9266ed11599b2 100644 (file)
@@ -3095,9 +3095,9 @@ win_line(
 #ifdef FEAT_SYN_HL
            if (!(cul_screenline
 # ifdef FEAT_DIFF
-                       && diff_hlf == (hlf_T)0)
+                       && diff_hlf == (hlf_T)0
 # endif
-                   )
+                   ))
                saved_char_attr = char_attr;
            else
 #endif
index 4662de61063f8ea2a947a60cef9b0f9a4d150052..f8eccbfb4385defcab6f1a2c744877585ba5234b 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    616,
 /**/
     615,
 /**/