diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-31 20:31:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 20:31:42 -0400 |
commit | bc68653a869645e45f52edbf296106be5deabf2f (patch) | |
tree | 6bf7f626d45c98b267aedf6c21bb64d23ac71479 /src/nvim/screen.c | |
parent | 98024853f4755f51e82526b45484bae0ec6042ba (diff) | |
parent | 10bf69a43e8f58b0d49bc6253e4e2758060670a8 (diff) | |
download | rneovim-bc68653a869645e45f52edbf296106be5deabf2f.tar.gz rneovim-bc68653a869645e45f52edbf296106be5deabf2f.tar.bz2 rneovim-bc68653a869645e45f52edbf296106be5deabf2f.zip |
Merge pull request #13167 from romgrk/vim-8.2.1909
vim-patch:8.2.1909: number of status line items is limited to 80
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index df0c5ce791..713facfd1c 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -5191,8 +5191,8 @@ win_redr_custom ( char_u buf[MAXPATHL]; char_u *stl; char_u *p; - struct stl_hlrec hltab[STL_MAX_ITEM]; - StlClickRecord tabtab[STL_MAX_ITEM]; + stl_hlrec_t *hltab; + StlClickRecord *tabtab; int use_sandbox = false; win_T *ewp; int p_crb_save; @@ -5270,9 +5270,9 @@ win_redr_custom ( /* Make a copy, because the statusline may include a function call that * might change the option value and free the memory. */ stl = vim_strsave(stl); - width = build_stl_str_hl(ewp, buf, sizeof(buf), - stl, use_sandbox, - fillchar, maxwidth, hltab, tabtab); + width = + build_stl_str_hl(ewp, buf, sizeof(buf), stl, use_sandbox, + fillchar, maxwidth, &hltab, &tabtab); xfree(stl); ewp->w_p_crb = p_crb_save; |