summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-19 20:35:40 +0100
committerChristian Brabandt <cb@256bit.org>2023-12-19 20:35:40 +0100
commit615202bd0ebc1d8e3532f24b9b7232c2fd86b181 (patch)
treeabe4a6164bf61e7df0e7e65d33f48f9e0306c509 /src/globals.h
parentec14924368e23f2430815c009bd554f88de9c57f (diff)
patch 9.0.2178: reg_executing() wrong for :normal with rangev9.0.2178
Problem: reg_executing() returns wrong result in :normal with range when 'showcmd' is set (after 8.2.4705). Solution: Reset "pending_end_reg_executing" when executing a register. closes: #13707 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index c03fe97db9..b74ef35414 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1377,7 +1377,7 @@ EXTERN int ex_no_reprint INIT(= FALSE); // no need to print after z or p
EXTERN int reg_recording INIT(= 0); // register for recording or zero
EXTERN int reg_executing INIT(= 0); // register being executed or zero
// Flag set when peeking a character and found the end of executed register
-EXTERN int pending_end_reg_executing INIT(= 0);
+EXTERN int pending_end_reg_executing INIT(= FALSE);
// Set when a modifyOtherKeys sequence was seen, then simplified mappings will
// no longer be used. To be combined with modify_otherkeys_state.