fixup: apply the change on more files

This commit is contained in:
James Tirta Halim
2024-06-03 11:10:30 +07:00
committed by Lewis Russell
parent 4b3845be2e
commit 200e7ad157
19 changed files with 45 additions and 45 deletions

View File

@@ -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")) {