get_description() gets mode, so tools can provide diff. instructions.

This commit is contained in:
William Kendrick 2008-07-09 04:37:08 +00:00
parent c9dfc4d1d8
commit 2e5508842f
32 changed files with 102 additions and 50 deletions

View file

@ -108,7 +108,7 @@ char * rainbow_get_name(magic_api * api, int which)
}
// Return our descriptions, localized:
char * rainbow_get_description(magic_api * api, int which)
char * rainbow_get_description(magic_api * api, int which, int mode)
{
return(strdup(
gettext_noop("You can draw in rainbow colors!")));