src/obj-tval.c
char *de_armour(const char *name)
{
	char newname[40];
	char *armour;

	my_strcpy(newname, name, sizeof(newname));
	armour = strstr(newname, "armour");
	if (armour)
		my_strcpy(armour + 4, "r", 2);

	return string_make(newname);
}
/**
 * Small hack to allow both spellings of armer
 */
Small hack to allow both spellings of armer
Small hack to allow both spellings of armer
char *de_armour(const char *name)
{
	char newname[40];
	char *armour;
	my_strcpy(newname, name, sizeof(newname));
	armour = strstr(newname, "armour");
	if (armour)
		my_strcpy(armour + 4, "r", 2);
	return string_make(newname);
}
char * de_armour ( const char * name ) { char newname [ 40 ] ; char * armour ; my_strcpy ( newname , name , sizeof ( newname ) ) ; armour = strstr ( newname , " " ) ; if ( armour ) my_strcpy ( armour + 4 , " " , 2 ) ; return string_make ( newname ) ; }
Small hack to allow both spellings of armer
Small hack to allow both spellings of armer