diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-10-22 22:13:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-10-22 22:13:52 +0200 |
commit | b8e86705ca09deeee5044af6e3afb4e9999eceb5 (patch) | |
tree | ab0a146232e457549c2761dea7099bcd8a5841dd /src/getchar.c | |
parent | bd743259603a5cda418a0c542b719dad0213e1a9 (diff) |
updated for version 7.3.033v7.3.033
Problem: Can't build without FEAT_LOCALMAP.
Solution: Add an #ifdef. (John Marriott)
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index 8462517cdb..05693727f6 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -5086,7 +5086,11 @@ check_map(keys, mode, exact, ign_mod, abbr, mp_ptr, local_ptr) if (mp_ptr != NULL) *mp_ptr = mp; if (local_ptr != NULL) +#ifdef FEAT_LOCALMAP *local_ptr = local; +#else + *local_ptr = 0; +#endif return mp->m_str; } } |