patch 8.2.4745: using wrong flag for using bell in the terminal
Problem: Using wrong flag for using bell in the terminal.
Solution: Change to use BO_TERM.
diff --git a/src/misc1.c b/src/misc1.c
index 82dbbba..6dbad3f 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -1095,11 +1095,10 @@
}
/*
- * Give a warning for an error.
+ * Give a warning for an error. "val" is one of the BO_ values, e.g., BO_OPER.
*/
void
-vim_beep(
- unsigned val) // one of the BO_ values, e.g., BO_OPER
+vim_beep(unsigned val)
{
#ifdef FEAT_EVAL
called_vim_beep = TRUE;