Mercurial > vim
diff src/eval.c @ 2684:951641b8784d v7.3.102
updated for version 7.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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 17 Jan 2011 20:08:11 +0100 |
parents | faf4b09c396e |
children | ef7fdb3c6927 |
line wrap: on
line diff
--- 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 {