[jnh-cvs 547] CVS update: jnethack/japanese

Back to archive index

argra****@users***** argra****@users*****
2008年 4月 10日 (木) 04:09:46 JST


Index: jnethack/japanese/jtrns.c
diff -u jnethack/japanese/jtrns.c:1.5 jnethack/japanese/jtrns.c:1.6
--- jnethack/japanese/jtrns.c:1.5	Sun Jul 31 03:06:37 2005
+++ jnethack/japanese/jtrns.c	Thu Apr 10 04:09:46 2008
@@ -1,6 +1,6 @@
 /*
 **
-**	$Id: jtrns.c,v 1.5 2005/07/30 18:06:37 argrath Exp $
+**	$Id: jtrns.c,v 1.6 2008/04/09 19:09:46 argrath Exp $
 **
 */
 
@@ -61,7 +61,8 @@
 
     while ( 0 <= i ){
 	const struct _jtrns_tab *p = &jtrns_tab[i];
-	if ((type == ' ' || p->type == type) &&
+	if (p->type != 'S' && p->type != 'K' && /* シンボルとスキルは除く */
+	    (type == ' ' || p->type == type) &&
 	    !strcmp((char *)p->val, (char *)val))
 	  return p->key;
 	i = p->rev_next;


Jnethack-cvs メーリングリストの案内
Back to archive index