diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-17 07:14:33 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-01-17 07:14:33 +0000 |
commit | 3e150a880447536a0af58c395e5a857635e985d3 (patch) | |
tree | 867c3504f60ee9bfd2fa5db3dd66d5b3a1649ecd /games/hack/hack.do_name.c | |
parent | 8e78a24e2e89c03ac53bd758a1781c925fe7ab71 (diff) |
r?index -> strr?chr
Diffstat (limited to 'games/hack/hack.do_name.c')
-rw-r--r-- | games/hack/hack.do_name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/hack/hack.do_name.c b/games/hack/hack.do_name.c index c50d45cd13f..93e73b40da6 100644 --- a/games/hack/hack.do_name.c +++ b/games/hack/hack.do_name.c @@ -170,7 +170,7 @@ register struct obj *obj; otemp.quan = 1; otemp.onamelth = 0; str = xname(&otemp); - pline("Call %s %s: ", index(vowels,*str) ? "an" : "a", str); + pline("Call %s %s: ", strchr(vowels,*str) ? "an" : "a", str); getlin(buf); clrlin(); if(!*buf || *buf == '\033') |