mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
fixup: apply the change on more files
This commit is contained in:

committed by
Lewis Russell

parent
4b3845be2e
commit
200e7ad157
@@ -272,7 +272,7 @@ static int get_winnr(tabpage_T *tp, typval_T *argvar)
|
||||
// if count is not specified, default to 1
|
||||
count = 1;
|
||||
}
|
||||
if (endp != NULL && *endp != '\0') {
|
||||
if (endp != NULL && *endp != NUL) {
|
||||
if (strequal(endp, "j")) {
|
||||
twin = win_vert_neighbor(tp, twin, false, count);
|
||||
} else if (strequal(endp, "k")) {
|
||||
|
Reference in New Issue
Block a user