mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.2.5170: tiny issues
Problem: Tiny issues. Solution: Tiny improvements.
This commit is contained in:
@@ -2404,7 +2404,8 @@ get_cmd_output_as_rettv(
|
|||||||
|
|
||||||
if (in_vim9script()
|
if (in_vim9script()
|
||||||
&& (check_for_string_arg(argvars, 0) == FAIL
|
&& (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;
|
return;
|
||||||
|
|
||||||
if (argvars[1].v_type != VAR_UNKNOWN)
|
if (argvars[1].v_type != VAR_UNKNOWN)
|
||||||
|
@@ -4133,7 +4133,7 @@ screen_del_lines(
|
|||||||
skip_showmode()
|
skip_showmode()
|
||||||
{
|
{
|
||||||
// Call char_avail() only when we are going to show something, because it
|
// 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
|
if (global_busy
|
||||||
|| msg_silent != 0
|
|| msg_silent != 0
|
||||||
|| !redrawing()
|
|| !redrawing()
|
||||||
|
@@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5170,
|
||||||
/**/
|
/**/
|
||||||
5169,
|
5169,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -1653,7 +1653,7 @@ void *vim_memset(void *, int, size_t);
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* defines to avoid typecasts from (char_u *) to (char *) and back
|
* 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 STRLEN(s) strlen((char *)(s))
|
||||||
#define STRCPY(d, s) strcpy((char *)(d), (char *)(s))
|
#define STRCPY(d, s) strcpy((char *)(d), (char *)(s))
|
||||||
|
Reference in New Issue
Block a user