summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-01-14 14:08:44 +0100
committerBram Moolenaar <Bram@vim.org>2015-01-14 14:08:44 +0100
commit435797304adc544562934f3ea1572fdc81f6dd92 (patch)
treef58eb72ff6bf3f5b83b2f2bbece8bc33d1b48c21 /src/getchar.c
parent0c7485fdbb5023731b006572cc224cbf52e34288 (diff)
updated for version 7.4.571v7.4.571
Problem: Can't build with tiny features. (Ike Devolder) Solution: Add #ifdef.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 3ae5f40609..54bce315f3 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3710,9 +3710,11 @@ do_map(maptype, arg, mode, abbrev)
else if (*keys == Ctrl_C)
{
/* If CTRL-C has been unmapped, reuse it for Interrupting. */
+#ifdef FEAT_LOCALMAP
if (map_table == curbuf->b_maphash)
curbuf->b_mapped_ctrl_c &= ~mode;
else
+#endif
mapped_ctrl_c &= ~mode;
}
goto theend;
@@ -3750,9 +3752,11 @@ do_map(maptype, arg, mode, abbrev)
/* If CTRL-C has been mapped, don't always use it for Interrupting. */
if (*keys == Ctrl_C)
{
+#ifdef FEAT_LOCALMAP
if (map_table == curbuf->b_maphash)
curbuf->b_mapped_ctrl_c |= mode;
else
+#endif
mapped_ctrl_c |= mode;
}