Mercurial > vim
diff src/gui_xmdlg.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 | 0b3be97064e5 |
children | 4aead6a9b7a9 |
line wrap: on
line diff
--- a/src/gui_xmdlg.c +++ b/src/gui_xmdlg.c @@ -688,7 +688,7 @@ do_choice(Widget w, do_dialog(VIM_ERROR, (char_u *)_("Error"), (char_u *)_("Invalid font specification"), - (char_u *)_("&Dismiss"), 1, NULL); + (char_u *)_("&Dismiss"), 1, NULL, FALSE); return True; } @@ -807,7 +807,7 @@ ok_callback(Widget w UNUSED, do_dialog(VIM_ERROR, (char_u *)_("Error"), (char_u *)_("Invalid font specification"), - (char_u *)_("&Dismiss"), 1, NULL); + (char_u *)_("&Dismiss"), 1, NULL, FALSE); XFreeFontNames(name); } else