aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-04-19 23:15:45 -0400
committerGitHub <noreply@github.com>2017-04-19 23:15:45 -0400
commit462c53eb3ea256bb85eb3916400d984347f0626f (patch)
treee196f6fa8b9c03009f383349c86b5ca79acf7199 /src/nvim/screen.c
parentf0c12012d99b33474bd6bb5dcb0ee3a6c6808789 (diff)
parentcb02137dfac7357650a2e9cc32acb66326e59058 (diff)
downloadrneovim-462c53eb3ea256bb85eb3916400d984347f0626f.tar.gz
rneovim-462c53eb3ea256bb85eb3916400d984347f0626f.tar.bz2
rneovim-462c53eb3ea256bb85eb3916400d984347f0626f.zip
Merge pull request #6547 from jamessan/vim-7.4.2152
vim-patch:7.4.2152,7.4.2165,7.4.2173,7.4.2179,7.4.2209
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index a8993be4e5..f34dbf5d64 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -1684,7 +1684,7 @@ static int compute_foldcolumn(win_T *wp, int col)
*/
static void fold_line(win_T *wp, long fold_count, foldinfo_T *foldinfo, linenr_T lnum, int row)
{
- char_u buf[51];
+ char_u buf[FOLD_TEXT_LEN];
pos_T *top, *bot;
linenr_T lnume = lnum + fold_count - 1;
int len;