aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2024-04-10 11:41:48 +0200
committerLuuk van Baal <luukvbaal@gmail.com>2024-05-02 15:46:15 +0200
commit7b14eb543d43344e2498335dc93a68d200469516 (patch)
tree13b1d65ca52c1884eb8f9208e0d74983c0dd055b /src/nvim/ex_docmd.c
parentd5063f4b290e1c4262f7ced6d425ff2d7a2e2045 (diff)
downloadrneovim-7b14eb543d43344e2498335dc93a68d200469516.tar.gz
rneovim-7b14eb543d43344e2498335dc93a68d200469516.tar.bz2
rneovim-7b14eb543d43344e2498335dc93a68d200469516.zip
refactor: add win_T argument to setcursor_mayforce()
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index e0a5e3e2bb..47b4c1e47d 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -5886,7 +5886,7 @@ static void ex_equal(exarg_T *eap)
static void ex_sleep(exarg_T *eap)
{
if (cursor_valid(curwin)) {
- setcursor_mayforce(true);
+ setcursor_mayforce(curwin, true);
}
int64_t len = eap->line2;