]> granicus.if.org Git - vim/commitdiff
patch 7.4.923 v7.4.923
authorBram Moolenaar <Bram@vim.org>
Thu, 19 Nov 2015 12:14:30 +0000 (13:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 19 Nov 2015 12:14:30 +0000 (13:14 +0100)
Problem:    Prototypes not always generated.
Solution:   Change #if to OR with PROTO.

src/version.c
src/window.c

index 73c1b8f64eaa344c007bab33ab938d82e1507057..edfbca8fee4bc688bf360827927fa3b132ec8d62 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    923,
 /**/
     922,
 /**/
index 60d9ceb4f8e44ebc80b43402beb023597759963d..e8134e06a21ded9ae2c3edffd6fe177f9b1788e3 100644 (file)
@@ -5580,7 +5580,7 @@ win_setminheight()
     }
 }
 
-#ifdef FEAT_MOUSE
+#if defined(FEAT_MOUSE) || defined(PROTO)
 
 /*
  * Status line of dragwin is dragged "offset" lines down (negative is up).
@@ -5713,7 +5713,7 @@ win_drag_status_line(dragwin, offset)
     showmode();
 }
 
-#ifdef FEAT_VERTSPLIT
+# if defined(FEAT_VERTSPLIT) || defined(PROTO)
 /*
  * Separator line of dragwin is dragged "offset" lines right (negative is left).
  */
@@ -5816,7 +5816,7 @@ win_drag_vsep_line(dragwin, offset)
     (void)win_comp_pos();
     redraw_all_later(NOT_VALID);
 }
-#endif /* FEAT_VERTSPLIT */
+# endif /* FEAT_VERTSPLIT */
 #endif /* FEAT_MOUSE */
 
 #endif /* FEAT_WINDOWS */
@@ -7268,7 +7268,7 @@ get_tab_number(tabpage_T *tp UNUSED)
 }
 #endif
 
-#ifdef FEAT_WINDOWS
+#if defined(FEAT_WINDOWS) || defined(PROTO)
 /*
  * Return TRUE if "topfrp" and its children are at the right height.
  */
@@ -7291,7 +7291,7 @@ frame_check_height(topfrp, height)
 }
 #endif
 
-#ifdef FEAT_VERTSPLIT
+#if defined(FEAT_VERTSPLIT) || defined(PROTO)
 /*
  * Return TRUE if "topfrp" and its children are at the right width.
  */