]> granicus.if.org Git - vim/commitdiff
patch 8.2.3691: build failure with small features v8.2.3691
authorBram Moolenaar <Bram@vim.org>
Sun, 28 Nov 2021 21:33:36 +0000 (21:33 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 28 Nov 2021 21:33:36 +0000 (21:33 +0000)
Problem:    Build failure with small features.
Solution:   Add #ifdef. (Dominique PellĂ©)

src/gui.c
src/version.c

index 17f4e9506c075c77a5d95d778a6d082307171365..616f6022bd34b48f3634764372ad4684c2196889 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -4413,8 +4413,10 @@ gui_update_scrollbars(
        }
     }
 
+#ifdef FEAT_TITLE
     // update the title, it may show the scroll position
     maketitle();
+#endif
 
     prev_curwin = curwin;
     --hold_gui_events;
index d7c2d698018f2d12c65ffc279654aa9a221477ec..e7f2c749c945f13bbb4d8e124ade433415eec9f3 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3691,
 /**/
     3690,
 /**/