There's even a constant for the ELF executable type.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16125 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0b537029e3
commit
de3b6032e7
@ -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 == "application/x-vnd.Be-elfexecutable");
|
return (type == B_ELF_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 == "application/x-vnd.Be-elfexecutable");
|
return (type == B_ELF_APP_MIME_TYPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user