git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6731 c06c8d41-db1a-0410-9941-cceddc491573
4WPXWUV3VKXCSVXPHSQ77EZME6C2RJILQ5RF53TZNN5YCLPN5D7AC
3DQXSE4YGFBBDUWK4YEOFWW4UPWILWELFSLP37SL6BERGAZJC5YAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
lowercase(name);
const char* short_name = spelltype_short_name(type); const char* long_name = spelltype_long_name(type);
const char* short_name = spelltype_short_name(type);
const char* long_name = spelltype_long_name(type);
std::string short_name = spelltype_short_name(type); std::string long_name = spelltype_long_name(type); lowercase(short_name); lowercase(long_name);
std::string short_name = spelltype_short_name(type);
std::string long_name = spelltype_long_name(type);
lowercase(short_name);
lowercase(long_name);
if (strcasecmp(short_name, name.c_str()) == 0)
if (name == short_name)
if (strcasecmp(long_name, name.c_str()) == 0)
if (name == long_name)
if (strcasestr(short_name, name.c_str()))
if (short_name.find(name) != std::string::npos)
if (strcasestr(long_name, name.c_str()))
if (long_name.find(name) != std::string::npos)