Even better use the type guaranteed to be the correct one for the platform.

Thanks to John Drinkwater for pointing that out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2006-01-28 22:51:09 +00:00
parent b4598d95e6
commit 9ff556c32a
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ update_icon(BAppFileInfo &appFileInfoRead, BAppFileInfo &appFileInfoWrite,
static bool static bool
is_shared_object_mime_type(BMimeType &type) is_shared_object_mime_type(BMimeType &type)
{ {
return (type == B_ELF_APP_MIME_TYPE); return (type == B_APP_MIME_TYPE);
} }

View File

@ -40,7 +40,7 @@ update_icon(BAppFileInfo &appFileInfoRead, BAppFileInfo &appFileInfoWrite,
static bool static bool
is_shared_object_mime_type(BMimeType &type) is_shared_object_mime_type(BMimeType &type)
{ {
return (type == B_ELF_APP_MIME_TYPE); return (type == B_APP_MIME_TYPE);
} }