summaryrefslogtreecommitdiffstats
path: root/sail/pl_7.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-14 19:57:14 +0000
committerdholland <dholland@NetBSD.org>2009-03-14 19:57:14 +0000
commitc9ea3d28669550d93bd8b6ba25a908f58b38683a (patch)
tree186558146313beaf9e8246b0a2ac0125ecb70281 /sail/pl_7.c
parent9bea9bf1927f40fd42b478e7603168e7b9ed4192 (diff)
downloadbsdgames-darwin-c9ea3d28669550d93bd8b6ba25a908f58b38683a.tar.gz
bsdgames-darwin-c9ea3d28669550d93bd8b6ba25a908f58b38683a.zip
Use \a instead of \7 for BEL.
Diffstat (limited to 'sail/pl_7.c')
-rw-r--r--sail/pl_7.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sail/pl_7.c b/sail/pl_7.c
index 2738b014..cf1d009c 100644
--- a/sail/pl_7.c
+++ b/sail/pl_7.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pl_7.c,v 1.30 2009/03/14 19:35:13 dholland Exp $ */
+/* $NetBSD: pl_7.c,v 1.31 2009/03/14 19:57:14 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: pl_7.c,v 1.30 2009/03/14 19:35:13 dholland Exp $");
+__RCSID("$NetBSD: pl_7.c,v 1.31 2009/03/14 19:57:14 dholland Exp $");
#endif
#endif /* not lint */
@@ -177,7 +177,7 @@ Signal(const char *fmt, struct ship *ship, ...)
if (!done_curses)
return;
va_start(ap, ship);
- if (*fmt == '\7')
+ if (*fmt == '\a')
putchar(*fmt++);
fmtship(format, sizeof(format), fmt, ship);
vwprintw(scroll_w, format, ap);
@@ -194,7 +194,7 @@ Msg(const char *fmt, ...)
if (!done_curses)
return;
va_start(ap, fmt);
- if (*fmt == '\7')
+ if (*fmt == '\a')
putchar(*fmt++);
vwprintw(scroll_w, fmt, ap);
va_end(ap);