]> granicus.if.org Git - vim/commitdiff
patch 8.2.5170: tiny issues v8.2.5170
authorBram Moolenaar <Bram@vim.org>
Mon, 27 Jun 2022 21:17:37 +0000 (22:17 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 27 Jun 2022 21:17:37 +0000 (22:17 +0100)
Problem:    Tiny issues.
Solution:   Tiny improvements.

src/misc1.c
src/screen.c
src/version.c
src/vim.h

index fd85eff9c83322334eccf7fa27e1f1f3cf4ca75f..91e208b3524118ec9c9ae14db2ac24b6d7dda5cf 100644 (file)
@@ -2404,7 +2404,8 @@ get_cmd_output_as_rettv(
 
     if (in_vim9script()
            && (check_for_string_arg(argvars, 0) == FAIL
-               || check_for_opt_string_or_number_or_list_arg(argvars, 1) == FAIL))
+               || check_for_opt_string_or_number_or_list_arg(argvars, 1)
+                                                                     == FAIL))
        return;
 
     if (argvars[1].v_type != VAR_UNKNOWN)
index a5b77e236c996f6bee5ab337a800fe94cbbb5728..82a0e91ddca958d9e48a8963c880784ab2a1ddaa 100644 (file)
@@ -4133,7 +4133,7 @@ screen_del_lines(
 skip_showmode()
 {
     // Call char_avail() only when we are going to show something, because it
-    // takes a bit of time.  redrawing() may also call char_avail_avail().
+    // takes a bit of time.  redrawing() may also call char_avail().
     if (global_busy
            || msg_silent != 0
            || !redrawing()
index 4a7e83f9c450ef4cff52bed7e67c6b8aa2a95198..abe9d36081543137b8cfcd763ad961b3298550c6 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5170,
 /**/
     5169,
 /**/
index 1e66d514c0fefe81ec721c7a805a5a664dbd4bd4..97ce6390ebb400ec9784582da103644b066e4d21 100644 (file)
--- a/src/vim.h
+++ b/src/vim.h
@@ -1653,7 +1653,7 @@ void *vim_memset(void *, int, size_t);
 
 /*
  * defines to avoid typecasts from (char_u *) to (char *) and back
- * (vim_strchr() and vim_strrchr() are now in alloc.c)
+ * (vim_strchr() and vim_strrchr() are now in strings.c)
  */
 #define STRLEN(s)          strlen((char *)(s))
 #define STRCPY(d, s)       strcpy((char *)(d), (char *)(s))