mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.1.0441: build failure without command line history
Problem: Build failure without command line history. Solution: Move cmdline_init() outside of #ifdef.
This commit is contained in:
@@ -775,6 +775,12 @@ may_add_char_to_search(int firstc, int *c, incsearch_state_T *is_state)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void
|
||||||
|
cmdline_init(void)
|
||||||
|
{
|
||||||
|
vim_memset(&ccline, 0, sizeof(struct cmdline_info));
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* getcmdline() - accept a command line starting with firstc.
|
* getcmdline() - accept a command line starting with firstc.
|
||||||
*
|
*
|
||||||
@@ -7046,12 +7052,6 @@ finish_viminfo_history(vir_T *virp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cmdline_init(void)
|
|
||||||
{
|
|
||||||
vim_memset(&ccline, 0, sizeof(struct cmdline_info));
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Write history to viminfo file in "fp".
|
* Write history to viminfo file in "fp".
|
||||||
* When "merge" is TRUE merge history lines with a previously read viminfo
|
* When "merge" is TRUE merge history lines with a previously read viminfo
|
||||||
|
@@ -794,6 +794,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 */
|
||||||
|
/**/
|
||||||
|
441,
|
||||||
/**/
|
/**/
|
||||||
440,
|
440,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user