Patch 8.2.5170
Problem: Tiny issues.
Solution: Tiny improvements.
Files: src/misc1.c, src/screen.c, src/vim.h
*** ../vim-8.2.5169/src/misc1.c 2022-06-11 10:43:16.569008231 +0100
--- src/misc1.c 2022-06-27 18:55:57.513780655 +0100
***************
*** 2404,2410 ****
if (in_vim9script()
&& (check_for_string_arg(argvars, 0) == FAIL
! || check_for_opt_string_or_number_or_list_arg(argvars, 1) == FAIL))
return;
if (argvars[1].v_type != VAR_UNKNOWN)
--- 2404,2411 ----
if (in_vim9script()
&& (check_for_string_arg(argvars, 0) == FAIL
! || check_for_opt_string_or_number_or_list_arg(argvars, 1)
! == FAIL))
return;
if (argvars[1].v_type != VAR_UNKNOWN)
*** ../vim-8.2.5169/src/screen.c 2022-06-21 18:10:35.919881737 +0100
--- src/screen.c 2022-06-26 11:29:15.087323476 +0100
***************
*** 4133,4139 ****
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().
if (global_busy
|| msg_silent != 0
|| !redrawing()
--- 4133,4139 ----
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().
if (global_busy
|| msg_silent != 0
|| !redrawing()
*** ../vim-8.2.5169/src/vim.h 2022-06-16 11:14:51.953291054 +0100
--- src/vim.h 2022-06-24 16:14:07.705644363 +0100
***************
*** 1653,1659 ****
/*
* defines to avoid typecasts from (char_u *) to (char *) and back
! * (vim_strchr() and vim_strrchr() are now in alloc.c)
*/
#define STRLEN(s) strlen((char *)(s))
#define STRCPY(d, s) strcpy((char *)(d), (char *)(s))
--- 1653,1659 ----
/*
* defines to avoid typecasts from (char_u *) to (char *) and back
! * (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))
*** ../vim-8.2.5169/src/version.c 2022-06-27 20:15:07.202805958 +0100
--- src/version.c 2022-06-27 22:15:29.887161729 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 5170,
/**/
--
hundred-and-one symptoms of being an internet addict:
17. You turn on your intercom when leaving the room so you can hear if new
e-mail arrives.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///