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:
Stephan Aßmus 2014-10-10 22:51:19 +02:00
parent 6d519fd175
commit 2fb1b897bc

View File

@ -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);
}