diff --git a/src/kits/package/PackageInfoStringBuilder.h b/src/kits/package/PackageInfoStringBuilder.h index 4e4c33d323..5fff72b7d7 100644 --- a/src/kits/package/PackageInfoStringBuilder.h +++ b/src/kits/package/PackageInfoStringBuilder.h @@ -64,9 +64,9 @@ struct BPackageInfo::StringBuilder { _Write(attribute); _Write('\t'); - if ((flags & B_PACKAGE_FLAG_APPROVE_LICENSE) == 0) + if ((flags & B_PACKAGE_FLAG_APPROVE_LICENSE) != 0) _Write(" approve_license"); - if ((flags & B_PACKAGE_FLAG_SYSTEM_PACKAGE) == 0) + if ((flags & B_PACKAGE_FLAG_SYSTEM_PACKAGE) != 0) _Write(" system_package"); _Write('\n');