diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-02-15 17:39:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-02-15 17:39:22 +0100 |
commit | cab35ad26d2be6da4b3221f6f1a477312b93ea90 (patch) | |
tree | c8221a37b351a130162ebccb398938fa2937d8ca /src/structs.h | |
parent | c2b4c62d0b3b25d2bb9bfc1e7e65c431e73ea1df (diff) | |
download | vim-cab35ad26d2be6da4b3221f6f1a477312b93ea90.zip |
updated for version 7.3.124
Problem: When writing a file in binary mode it may be missing the final EOL
if a file previously read was missing the EOL. (Kevin Goodsell)
Solution: Move the write_no_eol_lnum into the buffer struct.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index aa93aaedc..afc494e2c 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1564,6 +1564,9 @@ struct file_buffer /* end of buffer options */ + linenr_T b_no_eol_lnum; /* non-zero lnum when last line of next binary + * write should not have an end-of-line */ + int b_start_eol; /* last line had eol when it was read */ int b_start_ffc; /* first char of 'ff' when edit started */ #ifdef FEAT_MBYTE |