Doc'ing Fur magic tool in CHANGES & AUTHORS

Also, moving to "Paint" group (the other two remain in "Distorts")
This commit is contained in:
Bill Kendrick 2023-01-29 22:18:59 -08:00
parent 034cbf5b5a
commit 6161ebe59a
3 changed files with 27 additions and 17 deletions

View file

@ -162,7 +162,11 @@ char *swirls_get_name(magic_api * api ATTRIBUTE_UNUSED,
int swirls_get_group(magic_api * api ATTRIBUTE_UNUSED,
int which ATTRIBUTE_UNUSED)
{
return MAGIC_TYPE_DISTORTS;
if (which == SWIRL_TOOL_FUR) {
return MAGIC_TYPE_PAINTING;
} else {
return MAGIC_TYPE_DISTORTS;
}
}
char *swirls_get_description(magic_api * api ATTRIBUTE_UNUSED,