Mercurial > vim
diff src/proto/buffer.pro @ 22721:92a100fc5e17 v8.2.1909
patch 8.2.1909: number of status line items is limited to 80
Commit: https://github.com/vim/vim/commit/8133cc6bf454eb90bb0868f7cf806fce5c0c9fe6
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 26 21:05:27 2020 +0100
patch 8.2.1909: number of status line items is limited to 80
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes https://github.com/vim/vim/issues/7181)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Oct 2020 21:15:06 +0100 |
parents | e871a824efc9 |
children | 0b4658e030cb |
line wrap: on
line diff
--- a/src/proto/buffer.pro +++ b/src/proto/buffer.pro @@ -48,7 +48,7 @@ void col_print(char_u *buf, size_t bufle void maketitle(void); void resettitle(void); void free_titles(void); -int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, struct stl_hlrec *hltab, struct stl_hlrec *tabtab); +int build_stl_str_hl(win_T *wp, char_u *out, size_t outlen, char_u *fmt, int use_sandbox, int fillchar, int maxwidth, stl_hlrec_T **hltab, stl_hlrec_T **tabtab); void get_rel_pos(win_T *wp, char_u *buf, int buflen); char_u *fix_fname(char_u *fname); void fname_expand(buf_T *buf, char_u **ffname, char_u **sfname);