vim-patch:9.0.0124: code has more indent than needed

Problem:    Code has more indent than needed.
Solution:   Use continue and return statements. (closes vim/vim#10824)
101d57b34b
This commit is contained in:
zeertzjq
2022-08-01 06:05:29 +08:00
parent 68ec497d52
commit c9ca90229b
6 changed files with 23 additions and 29 deletions

View File

@@ -5793,6 +5793,7 @@ static void do_helptags(char *dirname, bool add_help_tags, bool ignore_writeerr)
if (len <= 4) {
continue;
}
if (STRICMP(files[i] + len - 4, ".txt") == 0) {
// ".txt" -> language "en"
lang[0] = 'e';