forked from old/legacy-imlib2
parent
af4984f978
commit
d7d2b23866
|
@ -24,7 +24,7 @@ void init( struct imlib_filter_info *info )
|
|||
info->author = strdup( "Chris Ross - Boris - chris@darkrock.co.uk" );
|
||||
info->description = strdup( "This filter is used to show that the imlib2 filter system works!" );
|
||||
info->num_filters = 3;
|
||||
info->filters = malloc(sizeof(char *)*2);
|
||||
info->filters = malloc(sizeof(char *)*3);
|
||||
for (i = 0; i < info->num_filters; i++)
|
||||
info->filters[i] = strdup(filters[i]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue