HaikuDepot: only display copyright symbol if the string is not empty.
This commit is contained in:
@@ -507,7 +507,8 @@ PackageInfo::PackageInfo(const BPackageInfo& info)
|
||||
const BStringList& rightsList = info.CopyrightList();
|
||||
if (rightsList.CountStrings() > 0)
|
||||
publisherName = rightsList.StringAt(0);
|
||||
publisherName.Prepend("© ");
|
||||
if (!publisherName.IsEmpty())
|
||||
publisherName.Prepend("© ");
|
||||
|
||||
fPublisher = PublisherInfo(BitmapRef(), publisherName, "", publisherURL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user