mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
releasing version 2.17-1
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@11092 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pl_4.c,v 1.14 2003/08/07 09:37:44 agc Exp $ */
|
||||
/* $NetBSD: pl_4.c,v 1.15 2004/11/05 21:30:32 dsl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)pl_4.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: pl_4.c,v 1.14 2003/08/07 09:37:44 agc Exp $");
|
||||
__RCSID("$NetBSD: pl_4.c,v 1.15 2004/11/05 21:30:32 dsl Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@@ -95,7 +95,7 @@ lookout(void)
|
||||
sgetstr("What ship? ", buf, sizeof buf);
|
||||
foreachship(sp) {
|
||||
c = *countryname[sp->nationality];
|
||||
if ((c == *buf || tolower(c) == *buf || colours(sp) == *buf)
|
||||
if ((tolower((unsigned char)c) == *buf || colours(sp) == *buf)
|
||||
&& (sp->file->stern == buf[1] || sterncolour(sp) == buf[1]
|
||||
|| buf[1] == '?')) {
|
||||
eyeball(sp);
|
||||
|
||||
Reference in New Issue
Block a user