diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-11-12 15:05:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-11-12 15:05:21 +0000 |
commit | 1c8603613a33f6012c7d7e0d9db02323f2e785b4 (patch) | |
tree | 95ea34870e173c4ea2da0f18e2a0a9b7d49b90a1 /src/fileio.c | |
parent | 0f71c6d02066becafcaa0c2eba52dc0be166f821 (diff) |
updated for version 7.2-040v7.2.040
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fileio.c b/src/fileio.c index 3d473916b2..a28bcd9e65 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -932,7 +932,10 @@ retry: else { if (eap != NULL && eap->force_ff != 0) + { fileformat = get_fileformat_force(curbuf, eap); + try_unix = try_dos = try_mac = FALSE; + } else if (curbuf->b_p_bin) fileformat = EOL_UNIX; /* binary: use Unix format */ else if (*p_ffs == NUL) @@ -2341,11 +2344,6 @@ failed: STRCAT(IObuff, _("[CR missing]")); c = TRUE; } - if (ff_error == EOL_MAC) - { - STRCAT(IObuff, _("[NL found]")); - c = TRUE; - } if (split) { STRCAT(IObuff, _("[long lines split]")); |