diff options
Diffstat (limited to 'src/misc1.c')
-rw-r--r-- | src/misc1.c | 5 |
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 |