Module Name: src
Committed By: dholland
Date: Sat Aug 6 19:23:38 UTC 2011
Modified Files:
src/games/hack: def.objclass.h
Log Message:
Don't refer to index() in comments; use strchr().
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/games/hack/def.objclass.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/hack/def.objclass.h
diff -u src/games/hack/def.objclass.h:1.6 src/games/hack/def.objclass.h:1.7
--- src/games/hack/def.objclass.h:1.6 Wed Apr 2 18:36:34 2003
+++ src/games/hack/def.objclass.h Sat Aug 6 19:23:38 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: def.objclass.h,v 1.6 2003/04/02 18:36:34 jsm Exp $ */
+/* $NetBSD: def.objclass.h,v 1.7 2011/08/06 19:23:38 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -117,7 +117,7 @@
* hack.mkobj.c: char mkobjstr[] = "))[[!!!!????%%%%/=**";
* hack.apply.c: otmp = getobj("0#%", "put in");
* hack.eat.c: otmp = getobj("%", "eat");
- * hack.invent.c: if(index("!%?[)=*(0/\"", sym)){
- * hack.invent.c: || index("%?!*",otmp->olet))){
+ * hack.invent.c: if(strchr("!%?[)=*(0/\"", sym)){
+ * hack.invent.c: || strchr("%?!*",otmp->olet))){
*/
#endif /* _DEF_OBJCLASS_H_ */