commit | 21492743e80c6740bac65a91311c28bede8ef2f8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jun 04 21:57:57 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 04 21:57:57 2021 +0200 |
tree | e3330a096ce98a5e4b8c36b748c0a6621ef14d16 | |
parent | 56cddb38790ba535919524d9d2f32dbec9f3f07a [diff] [blame] |
patch 8.2.2938: after using motion force from feedkeys() it sticks Problem: After using motion force from feedkeys() it may not be reset. Solution: Clear motion_force in clearop(). (closes #8323)
diff --git a/src/normal.c b/src/normal.c index c4c1679..fe47e2b 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -1750,6 +1750,7 @@ oap->regname = 0; oap->motion_force = NUL; oap->use_reg_one = FALSE; + motion_force = NUL; } void