MIME types are case insensitive, so Tracker should not be so picky.

The app queries still are case sensitive, though (shouldn't hurt, as the MIME
type database preserves the case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17668 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-31 13:45:12 +00:00
parent 66d3076d17
commit 3b5cc3b1f3
+1 -1
View File
@@ -1502,7 +1502,7 @@ SearchForSignatureEntryList::CanOpenWithFilter(const Model *appModel,
return false;
}
if (strcmp(appModel->MimeType(), B_APP_MIME_TYPE) != 0) {
if (strcasecmp(appModel->MimeType(), B_APP_MIME_TYPE) != 0) {
// filter out pe containers on PPC etc.
return false;
}