aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-10-16 20:41:35 +0200
committerGitHub <noreply@github.com>2023-10-16 20:41:35 +0200
commita63c67005b9ea17214d86391e2fd649658c1bdec (patch)
treebd732635435cb15d0d7e0bbe4eb49ceae73c0999 /src/nvim/normal.c
parentb80a8e2c16b6d6eb16ac84232c27eb7cfa4a434a (diff)
parent3642f2fb44b6a3681e6a637671690258aa83cc62 (diff)
downloadrneovim-a63c67005b9ea17214d86391e2fd649658c1bdec.tar.gz
rneovim-a63c67005b9ea17214d86391e2fd649658c1bdec.tar.bz2
rneovim-a63c67005b9ea17214d86391e2fd649658c1bdec.zip
Merge pull request #25394 from famiu/refactor/options/set_option
refactor(options)!: unify interfaces for setting options
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index f1bc46412f..1f2403450f 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -1878,8 +1878,8 @@ void clear_showcmd(void)
char *const saved_w_sbr = curwin->w_p_sbr;
// Make 'sbr' empty for a moment to get the correct size.
- p_sbr = empty_option;
- curwin->w_p_sbr = empty_option;
+ p_sbr = empty_string_option;
+ curwin->w_p_sbr = empty_string_option;
getvcols(curwin, &curwin->w_cursor, &VIsual, &leftcol, &rightcol);
p_sbr = saved_sbr;
curwin->w_p_sbr = saved_w_sbr;