Patch 8.2.4745

7 views
Skip to first unread message

Bram Moolenaar

unread,
Apr 13, 2022, 9:28:44 AM4/13/22
to vim...@googlegroups.com

Patch 8.2.4745
Problem: Using wrong flag for using bell in the terminal.
Solution: Change to use BO_TERM.
Files: src/terminal.c, src/misc1.c


*** ../vim-8.2.4744/src/terminal.c 2022-04-13 11:47:21.711886557 +0100
--- src/terminal.c 2022-04-13 14:25:15.216585013 +0100
***************
*** 3391,3397 ****
static int
handle_bell(void *user UNUSED)
{
! vim_beep(BO_SH);
return 0;
}

--- 3391,3397 ----
static int
handle_bell(void *user UNUSED)
{
! vim_beep(BO_TERM);
return 0;
}

*** ../vim-8.2.4744/src/misc1.c 2022-04-09 18:17:30.056746549 +0100
--- src/misc1.c 2022-04-13 14:26:24.016809208 +0100
***************
*** 1095,1105 ****
}

/*
! * Give a warning for an error.
*/
void
! vim_beep(
! unsigned val) // one of the BO_ values, e.g., BO_OPER
{
#ifdef FEAT_EVAL
called_vim_beep = TRUE;
--- 1095,1104 ----
}

/*
! * Give a warning for an error. "val" is one of the BO_ values, e.g., BO_OPER.
*/
void
! vim_beep(unsigned val)
{
#ifdef FEAT_EVAL
called_vim_beep = TRUE;
*** ../vim-8.2.4744/src/version.c 2022-04-13 11:47:21.711886557 +0100
--- src/version.c 2022-04-13 14:27:09.392940590 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4745,
/**/

--
Lower life forms have more fun!

/// 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 ///
Reply all
Reply to author
Forward
0 new messages