diff --git a/src/kits/app/Messenger.cpp b/src/kits/app/Messenger.cpp index de4660f3da..2294ee34d0 100644 --- a/src/kits/app/Messenger.cpp +++ b/src/kits/app/Messenger.cpp @@ -1,5 +1,5 @@ //------------------------------------------------------------------------------ -// Copyright (c) 2001-2002, OpenBeOS +// Copyright (c) 2001-2005, Haiku // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), @@ -546,7 +546,7 @@ BMessenger::InitData(const char *signature, team_id team, status_t *result) // a team ID is given error = be_roster->GetRunningAppInfo(team, &info); // Compare the returned signature with the supplied one. - if (error == B_OK && signature && strcmp(signature, info.signature)) + if (error == B_OK && signature && strcasecmp(signature, info.signature)) error = B_MISMATCHED_VALUES; } // check whether the app flags say B_ARGV_ONLY diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index 864d415055..ec5145caf9 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -1,5 +1,5 @@ //------------------------------------------------------------------------------ -// Copyright (c) 2001-2002, OpenBeOS +// Copyright (c) 2001-2005, Haiku // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), @@ -1903,7 +1903,7 @@ BRoster::resolve_app(const char *inType, entry_ref *ref, char signature[B_MIME_TYPE_LENGTH]; if (appFileInfo.SetTo(&appFile) == B_OK && appFileInfo.GetSignature(signature) == B_OK) { - if (!strcmp(appMeta.Type(), signature)) + if (!strcasecmp(appMeta.Type(), signature)) appMeta.SetAppHint(&_appRef); else { appMeta.SetAppHint(NULL);