}
-static int my_stricmp(concptr a, concptr b)
+static int angband_stricmp(concptr a, concptr b)
{
for (concptr s1 = a, s2 = b; TRUE; s1++, s2++)
{
}
}
-static int my_strnicmp(concptr a, concptr b, int n)
+static int angband_strnicmp(concptr a, concptr b, int n)
{
for (concptr s1 = a, s2 = b; n > 0; s1++, s2++, n--)
{
{
len = strlen(macro_modifier_name[i]);
- if (!my_strnicmp(str, macro_modifier_name[i], len))
+ if (!angband_strnicmp(str, macro_modifier_name[i], len))
break;
}
for (i = 0; i < max_macrotrigger; i++)
{
len = strlen(macro_trigger_name[i]);
- if (!my_strnicmp(str, macro_trigger_name[i], len) && ']' == str[len])
+ if (!angband_strnicmp(str, macro_trigger_name[i], len) && ']' == str[len])
{
break;
}
for (i = 0; i < max_macrotrigger; i++)
{
- if (!my_stricmp(key_code, macro_trigger_keycode[0][i])
- || !my_stricmp(key_code, macro_trigger_keycode[1][i]))
+ if (!angband_stricmp(key_code, macro_trigger_keycode[0][i])
+ || !angband_stricmp(key_code, macro_trigger_keycode[1][i]))
break;
}