diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-04 10:28:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 10:28:16 -0400 |
commit | 76f5c72860b237d66c949dcdeb6967047810b956 (patch) | |
tree | e000e4434bfa1bac72ba2b30bb0053cda0ac250a /src/nvim/option.c | |
parent | ce976bf3559edca6d3a649c9053fab88959de6cf (diff) | |
parent | d82b599ea5399c27878eaf26a9cbf9ac138ee915 (diff) | |
download | rneovim-76f5c72860b237d66c949dcdeb6967047810b956.tar.gz rneovim-76f5c72860b237d66c949dcdeb6967047810b956.tar.bz2 rneovim-76f5c72860b237d66c949dcdeb6967047810b956.zip |
Merge pull request #14063 from lewis6991/master
vim-patch:8.1.{1631,1682,1899}: sign improvements
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 612ecca96a..4c43521f4d 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -7607,7 +7607,9 @@ int win_signcol_count(win_T *wp) } } - return MAX(minimum, MIN(maximum, needed_signcols)); + int ret = MAX(minimum, MIN(maximum, needed_signcols)); + assert(ret <= SIGN_SHOW_MAX); + return ret; } /// Get window or buffer local options |