summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-09 20:09:23 +0100
commit6ed545e79735f23ff8e650bc2f0967e5a0baedc9 (patch)
tree1c77e4b188c34d68e91c5c93e62c668ce51ffc2f /src/misc1.c
parent921bde88804663a7cb825d7f7e8a5d8ae6b58650 (diff)
patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 7a5fecd104..9bbe3ad385 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -575,7 +575,8 @@ check_status(buf_T *buf)
}
/*
- * Ask for a reply from the user, a 'y' or a 'n'.
+ * Ask for a reply from the user, a 'y' or a 'n', with prompt "str" (which
+ * should have been translated already).
* No other characters are accepted, the message is repeated until a valid
* reply is entered or CTRL-C is hit.
* If direct is TRUE, don't use vgetc() but ui_inchar(), don't get characters
@@ -653,7 +654,7 @@ get_mode(char_u *buf)
{
buf[i++] = VIsual_mode;
if (restart_VIsual_select)
- buf[i++] = 's';
+ buf[i++] = 's';
}
}
else if (State == MODE_HITRETURN || State == MODE_ASKMORE