diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-05-13 10:51:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-05-13 10:51:08 +0000 |
commit | 0ab2a8870cc335acd99f7f4d806f802818d97014 (patch) | |
tree | 604a7a94f20947c47cb08fb013fb84c62b6e9ca9 /src/structs.h | |
parent | 3c65e314b432707440593d9ecf8d016b99e8ed8c (diff) | |
download | vim-git-0ab2a8870cc335acd99f7f4d806f802818d97014.tar.gz |
updated for version 7.2-168
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/structs.h b/src/structs.h index 329676e59..f4f1a877f 100644 --- a/src/structs.h +++ b/src/structs.h @@ -33,9 +33,9 @@ typedef struct } pos_T; #ifdef FEAT_VIRTUALEDIT -# define INIT_POS_T {0, 0, 0} +# define INIT_POS_T(l, c, ca) {l, c, ca} #else -# define INIT_POS_T {0, 0} +# define INIT_POS_T(l, c, ca) {l, c} #endif /* @@ -1166,7 +1166,7 @@ struct file_buffer char_u *b_fname; /* current file name */ #ifdef UNIX - int b_dev; /* device number (-1 if not set) */ + dev_t b_dev; /* device number (-1 if not set) */ ino_t b_ino; /* inode number */ #endif #ifdef FEAT_CW_EDITOR @@ -1645,7 +1645,11 @@ struct tabpage_S #endif #ifdef FEAT_DIFF diff_T *tp_first_diff; +# ifdef S_SPLINT_S /* splint doesn't understand the array of pointers */ + buf_T **tp_diffbuf; +# else buf_T *(tp_diffbuf[DB_COUNT]); +# endif int tp_diff_invalid; /* list of diffs is outdated */ #endif frame_T *tp_snapshot; /* window layout snapshot */ |