commit | b8e86705ca09deeee5044af6e3afb4e9999eceb5 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Oct 22 22:13:52 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Oct 22 22:13:52 2010 +0200 |
tree | ab0a146232e457549c2761dea7099bcd8a5841dd | |
parent | bd743259603a5cda418a0c542b719dad0213e1a9 [diff] [blame] |
updated for version 7.3.033 Problem: Can't build without FEAT_LOCALMAP. Solution: Add an #ifdef. (John Marriott)
diff --git a/src/getchar.c b/src/getchar.c index 8462517..0569372 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -5086,7 +5086,11 @@ 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; } }