0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.826

Problem:    Compiler warnings and errors.
Solution:   Make it build properly without the multi-byte feature.
This commit is contained in:
Bram Moolenaar 2015-08-13 23:28:43 +02:00
parent 1560d07045
commit 3cfd5289ca
3 changed files with 6 additions and 4 deletions

View File

@ -17056,8 +17056,8 @@ f_setcharsearch(argvars, rettv)
} }
else else
#endif #endif
set_last_csearch(mb_ptr2char(csearch), set_last_csearch(PTR2CHAR(csearch),
csearch, mb_ptr2len(csearch)); csearch, MB_PTR2LEN(csearch));
} }
di = dict_find(d, (char_u *)"forward", -1); di = dict_find(d, (char_u *)"forward", -1);

View File

@ -451,8 +451,8 @@ last_csearch_until()
void void
set_last_csearch(c, s, len) set_last_csearch(c, s, len)
int c; int c;
char_u *s; char_u *s UNUSED;
int len; int len UNUSED;
{ {
*lastc = c; *lastc = c;
#ifdef FEAT_MBYTE #ifdef FEAT_MBYTE

View File

@ -741,6 +741,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 */
/**/
826,
/**/ /**/
825, 825,
/**/ /**/