diff --git a/common/attrlist.c b/common/attrlist.c
index 7ea65fa6..ec0b12bd 100644
--- a/common/attrlist.c
+++ b/common/attrlist.c
@@ -342,9 +342,9 @@ static int specsIdentical(struct attr *attr, uiAttributeSpec *spec)
 			attr->spec.G == spec->G &&
 			attr->spec.B == spec->B &&
 			attr->spec.A == spec->A;
-	// TODO use boolsEqual() on boolean features
 	}
-	// handles the rest
+	// handles the rest, including pointer comparison for uiAttributeFeatures
+	// TODO rename it to uiAttributeOpenTypeFeatures?
 	return attr->spec.Value == spec->Value;
 }
 
diff --git a/windows/attrstr.cpp b/windows/attrstr.cpp
index 3b652979..8f5e0adf 100644
--- a/windows/attrstr.cpp
+++ b/windows/attrstr.cpp
@@ -195,7 +195,7 @@ static int processAttribute(uiAttributedString *s, uiAttributeSpec *spec, size_t
 			break;
 		}
 		break;
-	cae uiAttributeOpenTypeFeatures:
+	case uiAttributeFeatures:
 		setFeaturesInRange(p, start, end, (uiOpenTypeFeatures *) (spec->Value));
 		break;
 	default: