Skip to content

Commit 6a2697f

Browse files
committed
patch 7.4.923
Problem: Prototypes not always generated. Solution: Change #if to OR with PROTO.
1 parent b4ff518 commit 6a2697f

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
923,
744746
/**/
745747
922,
746748
/**/

src/window.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5580,7 +5580,7 @@ win_setminheight()
55805580
}
55815581
}
55825582

5583-
#ifdef FEAT_MOUSE
5583+
#if defined(FEAT_MOUSE) || defined(PROTO)
55845584

55855585
/*
55865586
* Status line of dragwin is dragged "offset" lines down (negative is up).
@@ -5713,7 +5713,7 @@ win_drag_status_line(dragwin, offset)
57135713
showmode();
57145714
}
57155715

5716-
#ifdef FEAT_VERTSPLIT
5716+
# if defined(FEAT_VERTSPLIT) || defined(PROTO)
57175717
/*
57185718
* Separator line of dragwin is dragged "offset" lines right (negative is left).
57195719
*/
@@ -5816,7 +5816,7 @@ win_drag_vsep_line(dragwin, offset)
58165816
(void)win_comp_pos();
58175817
redraw_all_later(NOT_VALID);
58185818
}
5819-
#endif /* FEAT_VERTSPLIT */
5819+
# endif /* FEAT_VERTSPLIT */
58205820
#endif /* FEAT_MOUSE */
58215821

58225822
#endif /* FEAT_WINDOWS */
@@ -7268,7 +7268,7 @@ get_tab_number(tabpage_T *tp UNUSED)
72687268
}
72697269
#endif
72707270

7271-
#ifdef FEAT_WINDOWS
7271+
#if defined(FEAT_WINDOWS) || defined(PROTO)
72727272
/*
72737273
* Return TRUE if "topfrp" and its children are at the right height.
72747274
*/
@@ -7291,7 +7291,7 @@ frame_check_height(topfrp, height)
72917291
}
72927292
#endif
72937293

7294-
#ifdef FEAT_VERTSPLIT
7294+
#if defined(FEAT_VERTSPLIT) || defined(PROTO)
72957295
/*
72967296
* Return TRUE if "topfrp" and its children are at the right width.
72977297
*/

0 commit comments

Comments
 (0)