1
0
forked from aniani/vim

updated for version 7.3.120

Problem:    The message for an existing swap file is too long to fit in a 25
            line terminal.
Solution:   Make the message shorter. (Chad Miller)
This commit is contained in:
Bram Moolenaar 2011-02-15 11:57:04 +01:00
parent e627fb00fc
commit c41fc713ba
2 changed files with 5 additions and 3 deletions

View File

@ -4071,9 +4071,9 @@ attention_message(buf, fname)
}
/* Some of these messages are long to allow translation to
* other languages. */
MSG_PUTS(_("\n(1) Another program may be editing the same file.\n If this is the case, be careful not to end up with two\n different instances of the same file when making changes.\n"));
MSG_PUTS(_(" Quit, or continue with caution.\n"));
MSG_PUTS(_("\n(2) An edit session for this file crashed.\n"));
MSG_PUTS(_("\n(1) Another program may be editing the same file. If this is the case,\n be careful not to end up with two different instances of the same\n file when making changes."));
MSG_PUTS(_(" Quit, or continue with caution.\n"));
MSG_PUTS(_("(2) An edit session for this file crashed.\n"));
MSG_PUTS(_(" If this is the case, use \":recover\" or \"vim -r "));
msg_outtrans(buf->b_fname);
MSG_PUTS(_("\"\n to recover the changes (see \":help recovery\").\n"));

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
120,
/**/
119,
/**/