diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-04-21 17:45:16 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2023-04-22 09:11:24 +0100 |
commit | df4013cfc71d1d6e0918a7f9436c7d6971b8de59 (patch) | |
tree | 4c71885a53b62b95e707235a656f17f1d8b651c1 /src/nvim/window.c | |
parent | 558e4191f049662065984677a9c7cdbb1518092a (diff) | |
download | rneovim-df4013cfc71d1d6e0918a7f9436c7d6971b8de59.tar.gz rneovim-df4013cfc71d1d6e0918a7f9436c7d6971b8de59.tar.bz2 rneovim-df4013cfc71d1d6e0918a7f9436c7d6971b8de59.zip |
vim-patch:9.0.1293: the set_num_option() is too long
Problem: The set_num_option() is too long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes vim/vim#11954)
https://github.com/vim/vim/commit/0caaf1e46511f7a92e036f05e6aa9d5992540117
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index a2e1d1ab04..f2c68730ea 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -6098,7 +6098,7 @@ static void frame_setwidth(frame_T *curfrp, int width) } // Check 'winminheight' for a valid value and reduce it if needed. -void win_setminheight(void) +void did_set_winminheight(void) { bool first = true; @@ -6118,7 +6118,7 @@ void win_setminheight(void) } // Check 'winminwidth' for a valid value and reduce it if needed. -void win_setminwidth(void) +void did_set_winminwidth(void) { bool first = true; |