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:
Ingo Weinhold 2006-01-28 21:05:54 +00:00
parent 0b537029e3
commit de3b6032e7
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 == "application/x-vnd.Be-elfexecutable"); return (type == B_ELF_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 == "application/x-vnd.Be-elfexecutable"); return (type == B_ELF_APP_MIME_TYPE);
} }