diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-05-27 12:01:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 12:01:35 +0200 |
commit | 69b3d5acd375e36a06474c6ebd2622cb0c2fcca5 (patch) | |
tree | f34ba1b9e0e138f86666e77280da66f6ca0687e3 /src/nvim/message.c | |
parent | fb4d5a184678ab231da20ef559c8e423dfa54d6e (diff) | |
parent | 3c3b7844b95879bcfd86677df4cfac3edb0fb132 (diff) | |
download | rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.tar.gz rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.tar.bz2 rneovim-69b3d5acd375e36a06474c6ebd2622cb0c2fcca5.zip |
Merge #10068 from janlazo/vim-8.1.0020
vim-patch:8.1.{20,995,1077}
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index c5b9187117..7498091ade 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -945,7 +945,6 @@ void wait_return(int redraw) int oldState; int tmpState; int had_got_int; - int save_Recording; FILE *save_scriptout; if (redraw == true) { @@ -1011,16 +1010,16 @@ void wait_return(int redraw) // Temporarily disable Recording. If Recording is active, the // character will be recorded later, since it will be added to the // typebuf after the loop - save_Recording = Recording; + const int save_reg_recording = reg_recording; save_scriptout = scriptout; - Recording = FALSE; + reg_recording = 0; scriptout = NULL; c = safe_vgetc(); if (had_got_int && !global_busy) { got_int = false; } no_mapping--; - Recording = save_Recording; + reg_recording = save_reg_recording; scriptout = save_scriptout; |