summaryrefslogtreecommitdiff
path: root/src/msdos.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-24 19:50:04 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-24 19:50:04 +0000
commiteee0ae1527e2b6f88c497c15b5f8abed53911537 (patch)
tree93269159108eadf686b6e26f33933625802267bb /src/msdos.c
parent4b668d60f36be274b956a614e63b134b3555eb95 (diff)
downloademacs-eee0ae1527e2b6f88c497c15b5f8abed53911537.tar.gz
(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.
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 19da6103676..58733b418aa 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -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--;