From 39e26f6113393498c0d278ad8f4361ff47c8c949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 2 Mar 2006 13:19:27 +0000 Subject: [PATCH] Fixed a bug in the previous commit that prevented the Roster to find an app if the type had no preferred application at all. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16566 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Roster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/app/Roster.cpp b/src/kits/app/Roster.cpp index 5b1f1ad853..457b40b683 100644 --- a/src/kits/app/Roster.cpp +++ b/src/kits/app/Roster.cpp @@ -2132,7 +2132,7 @@ BRoster::_TranslateType(const char *mimeType, BMimeType *appMeta, superType.GetPreferredApp(secondarySignature); if (type.GetPreferredApp(primarySignature) != B_OK - && !primarySignature[0]) { + && !secondarySignature[0]) { // The type is installed, but has no preferred app. // In fact it might be an app signature and even having a // valid app hint. Nevertheless we fail.