app: fix file magic matching

file_procedure_find(): check all procedures' magics and not the first
precedure's magics #procedures times, sigh.
This commit is contained in:
Michael Natterer 2013-05-02 20:50:29 +02:00
parent a0942ae104
commit a484066813

View file

@ -136,7 +136,7 @@ file_procedure_find (GSList *procs,
for (list = procs; list; list = g_slist_next (list))
{
file_proc = procs->data;
file_proc = list->data;
if (file_proc->magics_list)
{