summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-01-17 20:08:11 +0100
committerBram Moolenaar <Bram@vim.org>2011-01-17 20:08:11 +0100
commitd2c340a6a696ecb498a3d293f377313fab66393b (patch)
tree9a9c75845e0a1333a84abb7499d2efe7c859d5ed /src/eval.c
parente2793357528c97ca73e76080b2d9bf6f89d6e2da (diff)
updated for version 7.3.102v7.3.102
Problem: When using ":make", typing the next command and then getting the "reload" prompt the next command is (partly) eaten by the reload prompt. Solution: Accept ':' as a special character at the reload prompt to accept the default choice and execute the command.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index a73731198b..a46789fdf0 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -9323,7 +9323,7 @@ f_confirm(argvars, rettv)
if (!error)
rettv->vval.v_number = do_dialog(type, NULL, message, buttons,
- def, NULL);
+ def, NULL, FALSE);
#endif
}
@@ -12744,7 +12744,7 @@ f_inputdialog(argvars, rettv)
IObuff[0] = NUL;
if (message != NULL && defstr != NULL
&& do_dialog(VIM_QUESTION, NULL, message,
- (char_u *)_("&OK\n&Cancel"), 1, IObuff) == 1)
+ (char_u *)_("&OK\n&Cancel"), 1, IObuff, FALSE) == 1)
rettv->vval.v_string = vim_strsave(IObuff);
else
{