From 740885b78b426906c522cf7abe34ea830cfd5ab3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 3 Nov 2009 14:33:17 +0000 Subject: [PATCH] updated for version 7.2-275 --- src/memline.c | 8 ++++---- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/memline.c b/src/memline.c index eba3561a7..facdeb62e 100644 --- a/src/memline.c +++ b/src/memline.c @@ -1285,7 +1285,7 @@ ml_recover() for (i = 0; i < dp->db_line_count; ++i) { txt_start = (dp->db_index[i] & DB_INDEX_MASK); - if (txt_start <= HEADER_SIZE + if (txt_start <= (int)HEADER_SIZE || txt_start >= (int)dp->db_txt_end) { p = (char_u *)"???"; @@ -1296,7 +1296,8 @@ ml_recover() ml_append(lnum++, p, (colnr_T)0, TRUE); } if (has_error) - ml_append(lnum++, (char_u *)_("???END"), (colnr_T)0, TRUE); + ml_append(lnum++, (char_u *)_("???END"), + (colnr_T)0, TRUE); } } } @@ -3576,11 +3577,10 @@ resolve_symlink(fname, buf) * Make swap file name out of the file name and a directory name. * Returns pointer to allocated memory or NULL. */ -/*ARGSUSED*/ char_u * makeswapname(fname, ffname, buf, dir_name) char_u *fname; - char_u *ffname; + char_u *ffname UNUSED; buf_T *buf; char_u *dir_name; { diff --git a/src/version.c b/src/version.c index 9f0ec933c..f1efeae64 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 275, /**/ 274, /**/ -- 2.50.1