• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisão21b11491a33fee3cd77dcfcc2448382f060543f2 (tree)
Hora2007-11-12 03:17:28
Autorvimboss
Commitervimboss

Mensagem de Log

updated for version 7.1-156

Mudança Sumário

Diff

diff -r 93ffa40b5320 -r 21b11491a33f src/ex_docmd.c
--- a/src/ex_docmd.c Sat Nov 10 21:51:15 2007 +0000
+++ b/src/ex_docmd.c Sun Nov 11 18:17:28 2007 +0000
@@ -666,7 +666,7 @@
666666 if (ex_pressedreturn)
667667 {
668668 /* go up one line, to overwrite the ":<CR>" line, so the
669- * output doensn't contain empty lines. */
669+ * output doesn't contain empty lines. */
670670 msg_row = prev_msg_row;
671671 if (prev_msg_row == Rows - 1)
672672 msg_row--;
@@ -2760,7 +2760,7 @@
27602760
27612761 /*
27622762 * Isolate the command and search for it in the command table.
2763- * Exeptions:
2763+ * Exceptions:
27642764 * - the 'k' command can directly be followed by any character.
27652765 * - the 's' command can be followed directly by 'c', 'g', 'i', 'I' or 'r'
27662766 * but :sre[wind] is another command, as are :scrip[tnames],
@@ -6677,7 +6677,7 @@
66776677 * The list should be allocated using alloc(), as should each item in the
66786678 * list. This function takes over responsibility for freeing the list.
66796679 *
6680- * XXX The list is made into the arggument list. This is freed using
6680+ * XXX The list is made into the argument list. This is freed using
66816681 * FreeWild(), which does a series of vim_free() calls, unless the two defines
66826682 * __EMX__ and __ALWAYS_HAS_TRAILING_NUL_POINTER are set. In this case, a
66836683 * routine _fnexplodefree() is used. This may cause problems, but as the drop
@@ -7795,7 +7795,7 @@
77957795 if (vim_strchr(p_cpo, CPO_CHDIR) != NULL && curbufIsChanged()
77967796 && !eap->forceit)
77977797 {
7798- EMSG(_("E747: Cannot change directory, buffer is modifed (add ! to override)"));
7798+ EMSG(_("E747: Cannot change directory, buffer is modified (add ! to override)"));
77997799 return;
78007800 }
78017801
@@ -9391,7 +9391,7 @@
93919391 if (src > srcstart && src[-1] == '\\')
93929392 {
93939393 *usedlen = 0;
9394- STRCPY(src - 1, src); /* remove backslash */
9394+ mch_memmove(src - 1, src, STRLEN(src) + 1); /* remove backslash */
93959395 return NULL;
93969396 }
93979397
diff -r 93ffa40b5320 -r 21b11491a33f src/version.c
--- a/src/version.c Sat Nov 10 21:51:15 2007 +0000
+++ b/src/version.c Sun Nov 11 18:17:28 2007 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 156,
671+/**/
670672 155,
671673 /**/
672674 154,
Show on old repository browser