0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.2.351

Problem:    Can't build with some compilers.
Solution:   Move the #ifdef outside of a macro.  Cleanup the code.
This commit is contained in:
Bram Moolenaar
2010-01-28 22:58:16 +01:00
parent c5d5d01ad9
commit d21d9a6c61
2 changed files with 18 additions and 9 deletions

View File

@@ -2492,16 +2492,23 @@ vgetorpeek(advance)
i = FAIL;
else
{
i = ins_typebuf(s,
save_m_noremap != REMAP_YES
? save_m_noremap
: STRNCMP(s,
int noremap;
if (save_m_noremap != REMAP_YES)
noremap = save_m_noremap;
else if (
#ifdef FEAT_EVAL
save_m_keys != NULL ? save_m_keys :
STRNCMP(s, save_m_keys != NULL
? save_m_keys : mp->m_keys,
(size_t)keylen)
#else
STRNCMP(s, mp->m_keys, (size_t)keylen)
#endif
mp->m_keys,
(size_t)keylen) != 0
? REMAP_YES : REMAP_SKIP,
!= 0)
noremap = REMAP_YES;
else
noremap = REMAP_SKIP;
i = ins_typebuf(s, noremap,
0, TRUE, cmd_silent || save_m_silent);
#ifdef FEAT_EVAL
if (save_m_expr)

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
351,
/**/
350,
/**/