diff options
author | David Faure <faure@kde.org> | 2023-11-03 17:03:25 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2023-11-07 22:32:00 +0000 |
commit | 5ad11d90d8a9b7d00c3524e766ada40d3b938d29 (patch) | |
tree | 1bfc1f0f99617a94c44b35a06f644f1f7ca6c5f2 | |
parent | 72efdf1e80a827d144339b21f05c619560480a4d (diff) |
Lower priority for text/x-mpsub's magic, so it doesn't match pcb-drillFile.drl
FORMAT= in the first 128 bytes is very unspecific magic, it happens
to match pcb-drillFile.drl too (which is a application/x-excellon file,
and can be detected as such because it starts with M48)
Found when porting QtCore to shared-mime-info 2.3
-rw-r--r-- | data/freedesktop.org.xml.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 7778c41..347e9e9 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -4096,7 +4096,7 @@ command to generate the output files. <mime-type type="text/x-mpsub"> <comment>MPlayer subtitles</comment> <sub-class-of type="text/plain"/> - <magic> + <magic priority="40"> <match type="string" value="FORMAT=" offset="0:256"/> </magic> <glob pattern="*.sub"/> |