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:
parent
6d519fd175
commit
2fb1b897bc
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user