Efreet_Mime: fix subrules with non-zero depth.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Jul 2009 14:23:36 +0000 (14:23 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Jul 2009 14:23:36 +0000 (14:23 +0000)
commit078cdbd634c4fdab25a6ddfa8ea1f815359db369
tree37a516c07c841c0943a9de904d99a9799899b26f
parentd1db738abc1a3455cc159251ff9584597f62cf99
Efreet_Mime: fix subrules with non-zero depth.

Hello,

I've fixed a bug in parsing magic file in Efreet_Mime: if some magic
rule has a subrule with non-zero depth, then the 0 depth is used instead
for subrule. This led to nonsense like all .xml documents matched as
application/docbook+xml.

By: Mikhail Gusarov

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@41304 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/efreet_mime.c