version 1.21 | | version 1.22 |
---|
| | |
/* | | /* |
* static char *rcsid_rune_c = | | * static char *rcsid_rune_c = |
* "$Id: rune.c,v 1.21 2001/10/15 21:12:08 garbled Exp $"; | | * "$Id: rune.c,v 1.22 2001/10/30 00:49:03 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
by doing some string manipulations */ | | by doing some string manipulations */ |
if(!at) { | | if(!at) { |
char insp[MAX_BUF]; | | char insp[MAX_BUF]; |
int i; | | size_t 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]='_'; |