summaryrefslogtreecommitdiffstats
path: root/trek/snova.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-24 21:55:24 +0000
committerdholland <dholland@NetBSD.org>2009-05-24 21:55:24 +0000
commit9abf00d9b32a3a985614d8f734b52090bed2e3b7 (patch)
tree69097462b6fb9bc15af684ef350a67bf9eaf94c3 /trek/snova.c
parent927a087250c6d788d6df6cc7fcb0359653e2efd3 (diff)
downloadbsdgames-darwin-9abf00d9b32a3a985614d8f734b52090bed2e3b7.tar.gz
bsdgames-darwin-9abf00d9b32a3a985614d8f734b52090bed2e3b7.tar.zst
bsdgames-darwin-9abf00d9b32a3a985614d8f734b52090bed2e3b7.zip
Don't use literal ^G's in string constants. Use \a.
Diffstat (limited to 'trek/snova.c')
-rw-r--r--trek/snova.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/trek/snova.c b/trek/snova.c
index 2b04ac74..b3b3ed46 100644
--- a/trek/snova.c
+++ b/trek/snova.c
@@ -1,4 +1,4 @@
-/* $NetBSD: snova.c,v 1.7 2009/05/24 21:44:56 dholland Exp $ */
+/* $NetBSD: snova.c,v 1.8 2009/05/24 21:55:24 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)snova.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: snova.c,v 1.7 2009/05/24 21:44:56 dholland Exp $");
+__RCSID("$NetBSD: snova.c,v 1.8 2009/05/24 21:55:24 dholland Exp $");
#endif
#endif /* not lint */
@@ -107,7 +107,7 @@ snova(int x, int y)
}
if (f) {
/* supernova is in same quadrant as Enterprise */
- printf("\nRED ALERT: supernova occuring at %d,%d\n", ix, iy);
+ printf("\a\nRED ALERT: supernova occuring at %d,%d\n", ix, iy);
dx = ix - Ship.sectx;
dy = iy - Ship.secty;
if (dx * dx + dy * dy <= 2) {