vim-patch:8.2.4318: various comment and indent mistakes, returning wrong zero (#22385)

Problem:    Various comment and indent mistakes, returning wrong zero.
Solution:   Fix the mistakes.  Return NULL instead of FAIL.

54969f4ef5

N/A patches for version.c:

vim-patch:8.2.3781: the option window script is outdated

Problem:    The option window script is outdated.
Solution:   Add several changes.

a416861c64

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq 2023-02-24 12:35:06 +08:00 committed by GitHub
parent 5e1308b7ca
commit 47bc297d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -2572,7 +2572,7 @@ static int eval4(char **arg, typval_T *rettv, int evaluate)
}
/// Handle fourth level expression:
/// + number addition
/// + number addition, concatenation of list or blob
/// - number subtraction
/// . string concatenation
/// .. string concatenation

View File

@ -1000,7 +1000,7 @@ void ui_ext_win_viewport(win_T *wp)
}
}
/// If "split_disallowed" is set given an error and return FAIL.
/// If "split_disallowed" is set give an error and return FAIL.
/// Otherwise return OK.
static int check_split_disallowed(void)
{