HaikuDepot: Revert change regarding publisher name
It is now again the first string from the copyrights list, unless there is no copyrights list, in which case the vendor string is used.
This commit is contained in:
@@ -495,11 +495,9 @@ PackageInfo::PackageInfo(const BPackageInfo& info)
|
||||
publisherURL = info.URLList().StringAt(0);
|
||||
|
||||
BString publisherName = info.Vendor();
|
||||
if (publisherName.IsEmpty()) {
|
||||
const BStringList& rightsList = info.CopyrightList();
|
||||
if (rightsList.CountStrings() > 0)
|
||||
publisherName = rightsList.StringAt(0);
|
||||
}
|
||||
const BStringList& rightsList = info.CopyrightList();
|
||||
if (rightsList.CountStrings() > 0)
|
||||
publisherName = rightsList.StringAt(0);
|
||||
|
||||
fPublisher = PublisherInfo(BitmapRef(), publisherName, "", publisherURL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user