mirror of
https://github.com/reactos/reactos.git
synced 2026-06-09 01:12:59 +08:00
[RAPPS] Don't display Freeware license string if the type is also Freeware (#7689)
License=Freeware, LicenseType=2 should not display as "Freeware (Freeware)"
This commit is contained in:
@@ -163,16 +163,16 @@ CAvailableApplicationInfo::LicenseString()
|
||||
LicenseType licenseType;
|
||||
|
||||
if (IsKnownLicenseType(IntBuffer))
|
||||
{
|
||||
licenseType = static_cast<LicenseType>(IntBuffer);
|
||||
}
|
||||
else
|
||||
{
|
||||
licenseType = LICENSE_NONE;
|
||||
|
||||
if (licenseType == LICENSE_NONE || licenseType == LICENSE_FREEWARE)
|
||||
{
|
||||
if (szLicenseString.CompareNoCase(L"Freeware") == 0)
|
||||
{
|
||||
licenseType = LICENSE_FREEWARE;
|
||||
szLicenseString = L"";
|
||||
szLicenseString = L""; // Don't display as "Freeware (Freeware)"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user