Mercurial > vim
changeset 1978:7e0c8a18c915 v7.2.275
updated for version 7.2-275
author | vimboss |
---|---|
date | Tue, 03 Nov 2009 14:33:17 +0000 |
parents | f018c759e4ed |
children | fd24e02210c9 |
files | src/memline.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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; {