0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0-156

This commit is contained in:
Bram Moolenaar
2006-11-01 17:12:57 +00:00
parent 219b87038a
commit 5a6404cff4
8 changed files with 166 additions and 48 deletions

View File

@@ -55,10 +55,14 @@
# include <time.h>
#endif
#ifdef SASC
#if defined(SASC) || defined(__amigaos4__)
# include <proto/dos.h> /* for Open() and Close() */
#endif
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
typedef struct block0 ZERO_BL; /* contents of the first block */
typedef struct pointer_block PTR_BL; /* contents of a pointer block */
typedef struct data_block DATA_BL; /* contents of a data block */
@@ -4481,7 +4485,7 @@ ml_updatechunk(buf, line, len, updtype)
curchnk = buf->b_ml.ml_chunksize + curix;
if (updtype == ML_CHNK_DELLINE)
len *= -1;
len = -len;
curchnk->mlcs_totalsize += len;
if (updtype == ML_CHNK_ADDLINE)
{