Tidied up a couple of minor oversights.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1150 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2002-09-24 05:29:32 +00:00
parent 2150894b73
commit 4e722de38f
+2 -2
View File
@@ -50,7 +50,7 @@ SupportingApps::~SupportingApps()
/*! \brief Returns a list of signatures of supporting applications for the
given type in the pre-allocated \c BMessage pointed to by \c apps.
See \c BMimeType::GetSupportingApps(BMessage*) for more information.
See \c BMimeType::GetSupportingApps() for more information.
*/
status_t
SupportingApps::GetSupportingApps(const char *type, BMessage *apps)
@@ -248,7 +248,7 @@ SupportingApps::AddSupportingApp(const char *type, const char *app)
status_t
SupportingApps::RemoveSupportingApp(const char *type, const char *app)
{
status_t err = app ? B_OK : B_BAD_VALUE;
status_t err = type && app ? B_OK : B_BAD_VALUE;
if (!err)
fSupportingApps[type].erase(app);
return err;