Mercurial > vim
comparison src/vim.h @ 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 | 92f221ad267c |
children | 7c1e2e3f2d8d |
comparison
equal
deleted
inserted
replaced
22720:51ceeb95d655 | 22721:92a100fc5e17 |
---|---|
1697 # define MAXCOL INT_MAX // maximum column number | 1697 # define MAXCOL INT_MAX // maximum column number |
1698 # define MAXLNUM LONG_MAX // maximum (invalid) line number | 1698 # define MAXLNUM LONG_MAX // maximum (invalid) line number |
1699 #endif | 1699 #endif |
1700 | 1700 |
1701 #define SHOWCMD_COLS 10 // columns needed by shown command | 1701 #define SHOWCMD_COLS 10 // columns needed by shown command |
1702 #define STL_MAX_ITEM 80 // max nr of %<flag> in statusline | |
1703 | 1702 |
1704 typedef void *vim_acl_T; // dummy to pass an ACL to a function | 1703 typedef void *vim_acl_T; // dummy to pass an ACL to a function |
1705 | 1704 |
1706 #ifndef mch_memmove | 1705 #ifndef mch_memmove |
1707 # define mch_memmove(to, from, len) memmove((char*)(to), (char*)(from), (size_t)(len)) | 1706 # define mch_memmove(to, from, len) memmove((char*)(to), (char*)(from), (size_t)(len)) |