Skip to content

Commit

Permalink
patch 7.4.923
Browse files Browse the repository at this point in the history
Problem:    Prototypes not always generated.
Solution:   Change #if to OR with PROTO.
  • Loading branch information
brammool committed Nov 19, 2015
1 parent b4ff518 commit 6a2697f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
923,
/**/
922,
/**/
Expand Down
10 changes: 5 additions & 5 deletions src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand 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).
*/
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down

0 comments on commit 6a2697f

Please sign in to comment.