Commit fcea9cd4 authored by Richard M. Stallman's avatar Richard M. Stallman

(do_visible_bell): Renamed from visible_bell to avoid

potential conflict with variable of the same name.  Caller changed.
(internal_flush): Code for audio bell inserted.
parent 9da6e765
......@@ -764,7 +764,7 @@ init_environment (argc, argv, skip_args)
static unsigned char _xorattr;
static void
visible_bell (xorattr)
do_visible_bell (xorattr)
unsigned char xorattr;
{
_xorattr = xorattr;
......@@ -843,7 +843,7 @@ internal_flush (f)
count -= 3;
break;
case 'B':
visible_bell (*cp++);
do_visible_bell (*cp++);
count -= 3;
break;
case 'C':
......@@ -872,6 +872,10 @@ internal_flush (f)
count -= 2;
}
break;
case 7:
write (1, "\007", 1);
count--;
break;
case 8:
x--;
count--;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment