diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-09-26 11:56:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 11:56:45 -0400 |
commit | 430ad9ab20b97b4c9a60732117e618bbe5236765 (patch) | |
tree | 0925ffd408f3dc052dba61117791f5aeaca878d7 /src/nvim/fileio.c | |
parent | 4a996bc431163b2a7b8e4bf3351d862887a78f83 (diff) | |
parent | e22c15682a76b6c531fea5b6d8896ecbaf582253 (diff) | |
download | rneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.tar.gz rneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.tar.bz2 rneovim-430ad9ab20b97b4c9a60732117e618bbe5236765.zip |
Merge pull request #12986 from janlazo/vim-8.2.1738
vim-patch:8.1.{524,1613},8.2.{1088,1713,1715,1717,1721,1725,1735,1738,1745}
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 286f2b4fca..ed8b72e2be 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -210,7 +210,8 @@ void filemess(buf_T *buf, char_u *name, char_u *s, int attr) if (msg_silent != 0) { return; } - add_quoted_fname((char *)IObuff, IOSIZE - 80, buf, (const char *)name); + add_quoted_fname((char *)IObuff, IOSIZE - 100, buf, (const char *)name); + // Avoid an over-long translation to cause trouble. xstrlcat((char *)IObuff, (const char *)s, IOSIZE); // For the first message may have to start a new line. // For further ones overwrite the previous one, reset msg_scroll before |