aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index b68399e428..5bf3410614 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -479,16 +479,17 @@ int readfile(char *fname, char *sfname, linenr_T from, linenr_T lines_to_skip,
goto theend;
}
#if defined(UNIX) && defined(EOVERFLOW)
- filemess(curbuf, sfname, ((fd == UV_EFBIG) ? _("[File too big]") :
+ filemess(curbuf, sfname, ((fd == UV_EFBIG) ? _("[File too big]")
+ :
// libuv only returns -errno
// in Unix and in Windows
// open() does not set
// EOVERFLOW
- (fd == -EOVERFLOW) ? _("[File too big]") :
- _("[Permission Denied]")), 0);
+ (fd == -EOVERFLOW) ? _("[File too big]")
+ : _("[Permission Denied]")), 0);
#else
- filemess(curbuf, sfname, ((fd == UV_EFBIG) ? _("[File too big]") :
- _("[Permission Denied]")), 0);
+ filemess(curbuf, sfname, ((fd == UV_EFBIG) ? _("[File too big]")
+ : _("[Permission Denied]")), 0);
#endif
curbuf->b_p_ro = true; // must use "w!" now