Mercurial > vim
comparison src/fileio.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 | 1a0d346695fa |
children | b0605f2f9786 |
comparison
equal
deleted
inserted
replaced
2683:0c7d6d01e058 | 2684:951641b8784d |
---|---|
7006 { | 7006 { |
7007 STRCAT(tbuf, "\n"); | 7007 STRCAT(tbuf, "\n"); |
7008 STRCAT(tbuf, mesg2); | 7008 STRCAT(tbuf, mesg2); |
7009 } | 7009 } |
7010 if (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf, | 7010 if (do_dialog(VIM_WARNING, (char_u *)_("Warning"), tbuf, |
7011 (char_u *)_("&OK\n&Load File"), 1, NULL) == 2) | 7011 (char_u *)_("&OK\n&Load File"), 1, NULL, TRUE) == 2) |
7012 reload = TRUE; | 7012 reload = TRUE; |
7013 } | 7013 } |
7014 else | 7014 else |
7015 #endif | 7015 #endif |
7016 if (State > NORMAL_BUSY || (State & CMDLINE) || already_warned) | 7016 if (State > NORMAL_BUSY || (State & CMDLINE) || already_warned) |