version 1.22 | | version 1.23 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.22 2001/10/30 00:49:03 michtoen Exp $"; | | * "$Id: rune.c,v 1.23 2001/10/30 02:30:20 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
by doing some string manipulations */ | | by doing some string manipulations */ |
if(!at) { | | if(!at) { |
char insp[MAX_BUF]; | | char insp[MAX_BUF]; |
size_t i; | | int i; |
strcpy(insp,spells[inspell].name); | | strcpy(insp,spells[inspell].name); |
for(i=0;i<strlen(insp);i++) | | for(i=0;i<strlen(insp);i++) |
if(insp[i]==' ') insp[i]='_'; | | if(insp[i]==' ') insp[i]='_'; |