Improve string to ASF BoolType conversion (#1435)

This commit is contained in:
Stephen Booth
2026-09-09 20:36:33 +02:00
committed by GitHub
parent deadc29907
commit 2c3d1e14ff
+1 -1
View File
@@ -454,7 +454,7 @@ PropertyMap ASF::Tag::setProperties(const PropertyMap &props)
addAttribute(name, str.toULongLong());
break;
case Attribute::BoolType:
addAttribute(name, !str.isEmpty() && str != "0" && str.upper() != "TRUE");
addAttribute(name, !str.isEmpty() && str != "0" && str.upper() != "FALSE");
break;
case Attribute::GuidType: {
ByteVector data;