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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220413132838.E6AD71C0854%40moolenaar.net.

Raspunde prin e-mail lui