diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-01-14 16:08:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-01-14 16:08:32 +0100 |
commit | 5000869712f799d9ca25c0e45dc21d332edae5f4 (patch) | |
tree | 288d15c04fc8b4ded049d4c36d08bb51b9852512 /src/ui.c | |
parent | 84c8e5ab9cfb6826e880e8ae062ff3347bb6909e (diff) | |
download | vim-git-5000869712f799d9ca25c0e45dc21d332edae5f4.tar.gz |
updated for version 7.4.573v7.4.573
Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat)
Solution: Call get_real_state() instead of using State directly.
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt) /* ... there is no need for CTRL-C to interrupt something, don't let * it set got_int when it was mapped. */ - if ((mapped_ctrl_c | curbuf->b_mapped_ctrl_c) & State) + if ((mapped_ctrl_c | curbuf->b_mapped_ctrl_c) & get_real_state()) ctrl_c_interrupts = FALSE; } |