mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.1.1632: build with EXITFREE but without +arabic fails
Problem: Build with EXITFREE but without +arabic fails. Solution: Rename the function and adjust #ifdefs. (closes #4613)
This commit is contained in:
@@ -3174,7 +3174,7 @@ static char_u *arshape_buf = NULL;
|
|||||||
|
|
||||||
# if defined(EXITFREE) || defined(PROTO)
|
# if defined(EXITFREE) || defined(PROTO)
|
||||||
void
|
void
|
||||||
free_cmdline_buf(void)
|
free_arshape_buf(void)
|
||||||
{
|
{
|
||||||
vim_free(arshape_buf);
|
vim_free(arshape_buf);
|
||||||
}
|
}
|
||||||
|
@@ -1193,7 +1193,9 @@ free_all_mem(void)
|
|||||||
buf = firstbuf;
|
buf = firstbuf;
|
||||||
}
|
}
|
||||||
|
|
||||||
free_cmdline_buf();
|
# ifdef FEAT_ARABIC
|
||||||
|
free_arshape_buf();
|
||||||
|
# endif
|
||||||
|
|
||||||
/* Clear registers. */
|
/* Clear registers. */
|
||||||
clear_registers();
|
clear_registers();
|
||||||
|
@@ -12,7 +12,7 @@ char_u *getexmodeline(int promptc, void *cookie, int indent, int do_concat);
|
|||||||
int cmdline_overstrike(void);
|
int cmdline_overstrike(void);
|
||||||
int cmdline_at_end(void);
|
int cmdline_at_end(void);
|
||||||
colnr_T cmdline_getvcol_cursor(void);
|
colnr_T cmdline_getvcol_cursor(void);
|
||||||
void free_cmdline_buf(void);
|
void free_arshape_buf(void);
|
||||||
void putcmdline(int c, int shift);
|
void putcmdline(int c, int shift);
|
||||||
void unputcmdline(void);
|
void unputcmdline(void);
|
||||||
int put_on_cmdline(char_u *str, int len, int redraw);
|
int put_on_cmdline(char_u *str, int len, int redraw);
|
||||||
|
@@ -777,6 +777,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 */
|
||||||
|
/**/
|
||||||
|
1632,
|
||||||
/**/
|
/**/
|
||||||
1631,
|
1631,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user