aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index db65ad724f..3ae3d6e30e 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2296,7 +2296,8 @@ int ask_yesno(char_u *str, int direct)
while (r != 'y' && r != 'n') {
/* same highlighting as for wait_return */
- smsg_attr(hl_attr(HLF_R), (char_u *)"%s (y/n)?", str);
+ smsg_attr(hl_attr(HLF_R),
+ "%s (y/n)?", str);
if (direct)
r = get_keystroke();
else