forked from enlightenment/efl
Efreet_Mime: bugfix for magic matching.
Efreet_Mime did not match last set of magics for given mime-type due to missing check after the loop. This bug was partially masked by the problem fixed in my previous patch. By: Mikhail Gusarov SVN revision: 41305
This commit is contained in:
parent
9aef9f5eca
commit
4faa46cab3
|
@ -1272,6 +1272,12 @@ efreet_mime_magic_check_priority(const char *file,
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (match)
|
||||
{
|
||||
fclose(f);
|
||||
return last_mime;
|
||||
}
|
||||
}
|
||||
fclose(f);
|
||||
|
||||
|
|
Loading…
Reference in New Issue