mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.312
Problem: Can't compile with tiny features. Solution: Add #ifdef around win_valid().
This commit is contained in:
@@ -416,7 +416,11 @@ close_buffer(win, buf, action)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
|
buf_freeall(buf, (del_buf ? BFA_DEL : 0) + (wipe_buf ? BFA_WIPE : 0));
|
||||||
if (win_valid(win) && win->w_buffer == buf)
|
if (
|
||||||
|
#ifdef FEAT_WINDOWS
|
||||||
|
win_valid(win) &&
|
||||||
|
#endif
|
||||||
|
win->w_buffer == buf)
|
||||||
win->w_buffer = NULL; /* make sure we don't use the buffer now */
|
win->w_buffer = NULL; /* make sure we don't use the buffer now */
|
||||||
|
|
||||||
#ifdef FEAT_AUTOCMD
|
#ifdef FEAT_AUTOCMD
|
||||||
|
@@ -709,6 +709,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
312,
|
||||||
/**/
|
/**/
|
||||||
311,
|
311,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user