diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-01-17 16:53:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-17 16:53:37 +0800 |
| commit | b4d669e7acd819cd5723b387a5a79023994d438d (patch) | |
| tree | 959745753350fb89d5079e105364c4081b0eb42a /src/nvim/eval | |
| parent | 58f2dcfc887134f5ebc33c13d7ef5ce540f8a247 (diff) | |
| download | rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.tar.gz rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.tar.bz2 rneovim-b4d669e7acd819cd5723b387a5a79023994d438d.zip | |
vim-patch:8.2.4928: various white space and cosmetic mistakes (#21854)
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
https://github.com/vim/vim/commit/6ed545e79735f23ff8e650bc2f0967e5a0baedc9
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval')
| -rw-r--r-- | src/nvim/eval/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/eval/window.c b/src/nvim/eval/window.c index b1e1669826..f58a0c488a 100644 --- a/src/nvim/eval/window.c +++ b/src/nvim/eval/window.c @@ -140,6 +140,8 @@ void win_findbuf(typval_T *argvars, list_T *list) /// Find window specified by "vp" in tabpage "tp". /// /// @param tp NULL for current tab page +/// @return current window if "vp" is number zero. +/// NULL if not found. win_T *find_win_by_nr(typval_T *vp, tabpage_T *tp) { int nr = (int)tv_get_number_chk(vp, NULL); |