summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-01-22 00:11:50 +0100
committerBram Moolenaar <Bram@vim.org>2011-01-22 00:11:50 +0100
commit164c60f5b1042419698ca7758bb2e32ed77bdede (patch)
treeb1382d2092c335fdeb89f4ae885501b7e8414868 /src/proto
parentd2c340a6a696ecb498a3d293f377313fab66393b (diff)
updated for version 7.3.103v7.3.103
Problem: Changing 'fileformat' and then using ":w" in an empty file sets the 'modified' option. Solution: In unchanged() don't ignore 'ff' for an empty file.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/option.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/option.pro b/src/proto/option.pro
index d14c89b285..15cf2b4f85 100644
--- a/src/proto/option.pro
+++ b/src/proto/option.pro
@@ -54,6 +54,6 @@ void change_compatible __ARGS((int on));
int option_was_set __ARGS((char_u *name));
int can_bs __ARGS((int what));
void save_file_ff __ARGS((buf_T *buf));
-int file_ff_differs __ARGS((buf_T *buf));
+int file_ff_differs __ARGS((buf_T *buf, int ignore_empty));
int check_ff_value __ARGS((char_u *p));
/* vim: set ft=c : */