HaikuDepot: only display copyright symbol if the string is not empty.

This commit is contained in:
Augustin Cavalier
2015-03-12 12:16:07 -04:00
parent 477c53895f
commit 6310fe231c
+2 -1
View File
@@ -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);
}