grammar tidbit (fixes #R835)

Add special case to an() to produce "a one-eyed one-horned
flying purple people eater" instead of "an one-eyed ...".
This commit is contained in:
nethack.rankin
2002-05-01 01:26:32 +00:00
parent 9f2f6f6177
commit b113445f93

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)objnam.c 3.4 2002/03/22 */
/* SCCS Id: @(#)objnam.c 3.4 2002/04/30 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -867,6 +867,7 @@ register const char *str;
strcmp(str, "iron bars") &&
strcmp(str, "ice")) {
if (index(vowels, *str) &&
strncmp(str, "one-", 4) &&
strncmp(str, "useful", 6) &&
strncmp(str, "unicorn", 7) &&
strncmp(str, "uranium", 7) &&