diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-14 01:30:53 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-23 01:33:16 -0400 |
commit | 8257d49ff6bd825e8f4ffca189cd6c23bd0c66be (patch) | |
tree | c55a61851b89777a5ce97d3038ee77e0cebc3485 /src/nvim/window.c | |
parent | f3d6d8750b70d56f92d6ece87031ed205abdfcca (diff) | |
download | rneovim-8257d49ff6bd825e8f4ffca189cd6c23bd0c66be.tar.gz rneovim-8257d49ff6bd825e8f4ffca189cd6c23bd0c66be.tar.bz2 rneovim-8257d49ff6bd825e8f4ffca189cd6c23bd0c66be.zip |
vim-patch:8.1.0410: the ex_copen() function is too long
Problem: The ex_copen() function is too long.
Solution: Refactor to split off two functions. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/476c0db00205590974395df717519407a7717270
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index ce5be8e904..d4a0db9c89 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -1574,7 +1574,7 @@ static void win_init_some(win_T *newp, win_T *oldp) /// Check if "win" is a pointer to an existing window in the current tabpage. /// /// @param win window to check -bool win_valid(win_T *win) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT +bool win_valid(const win_T *win) FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { if (win == NULL) { return false; |