mirror of
https://github.com/reactos/reactos.git
synced 2025-02-28 19:32:59 +00: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:
parent
a23db39c8a
commit
d5ce3d28ab
1 changed files with 4 additions and 4 deletions
|
@ -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)"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue