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:
parent
b4598d95e6
commit
9ff556c32a
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue