Skip to content

Commit 944cc9c

Browse files
committed
patch 8.2.5170: tiny issues
Problem: Tiny issues. Solution: Tiny improvements.
1 parent 069a7d5 commit 944cc9c

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/misc1.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,8 @@ get_cmd_output_as_rettv(
24042404

24052405
if (in_vim9script()
24062406
&& (check_for_string_arg(argvars, 0) == FAIL
2407-
|| check_for_opt_string_or_number_or_list_arg(argvars, 1) == FAIL))
2407+
|| check_for_opt_string_or_number_or_list_arg(argvars, 1)
2408+
== FAIL))
24082409
return;
24092410

24102411
if (argvars[1].v_type != VAR_UNKNOWN)

src/screen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4133,7 +4133,7 @@ screen_del_lines(
41334133
skip_showmode()
41344134
{
41354135
// Call char_avail() only when we are going to show something, because it
4136-
// takes a bit of time. redrawing() may also call char_avail_avail().
4136+
// takes a bit of time. redrawing() may also call char_avail().
41374137
if (global_busy
41384138
|| msg_silent != 0
41394139
|| !redrawing()

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
5170,
738740
/**/
739741
5169,
740742
/**/

src/vim.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ void *vim_memset(void *, int, size_t);
16531653

16541654
/*
16551655
* defines to avoid typecasts from (char_u *) to (char *) and back
1656-
* (vim_strchr() and vim_strrchr() are now in alloc.c)
1656+
* (vim_strchr() and vim_strrchr() are now in strings.c)
16571657
*/
16581658
#define STRLEN(s) strlen((char *)(s))
16591659
#define STRCPY(d, s) strcpy((char *)(d), (char *)(s))

0 commit comments

Comments
 (0)