added 1 changeset to branch 'refs/remotes/HaikuPM-github/package-management' old head: 204dee708a999d5a71d0cb9497650ee7cef85d0a new head: 826a109f96dbd877c8270c00f402671fb81854aa overview: https://github.com/haiku/HaikuPM/compare/204dee7...826a109 ---------------------------------------------------------------------------- 826a109: MimeInfoUpdater: Fix is_shared_object_mime_type() The comparison must be case insensitive. [ Ingo Weinhold <ingo_weinhold@xxxxxx> ] ---------------------------------------------------------------------------- Commit: 826a109f96dbd877c8270c00f402671fb81854aa Author: Ingo Weinhold <ingo_weinhold@xxxxxx> Date: Thu May 9 19:10:37 2013 UTC ---------------------------------------------------------------------------- 1 file changed, 1 insertion(+), 1 deletion(-) src/kits/storage/mime/MimeInfoUpdater.cpp | 2 +- ---------------------------------------------------------------------------- diff --git a/src/kits/storage/mime/MimeInfoUpdater.cpp b/src/kits/storage/mime/MimeInfoUpdater.cpp index dd5ec54..5e878cd 100644 --- a/src/kits/storage/mime/MimeInfoUpdater.cpp +++ b/src/kits/storage/mime/MimeInfoUpdater.cpp @@ -64,7 +64,7 @@ update_icon(BAppFileInfo &appFileInfoRead, BAppFileInfo &appFileInfoWrite, static bool is_shared_object_mime_type(const BString &type) { - return (type == B_APP_MIME_TYPE); + return type.ICompare(B_APP_MIME_TYPE) == 0; }