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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user