From c4a5aa1bd92e5bdd07849d73283ef64efc6db1d5 Mon Sep 17 00:00:00 2001 From: iska Date: Tue, 22 Dec 2015 02:31:45 +0100 Subject: [PATCH] Fix assignment in the initializer of attribute selector --- HTMLKit/CSSAttributeSelector.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTMLKit/CSSAttributeSelector.m b/HTMLKit/CSSAttributeSelector.m index b8d49f7..355d549 100644 --- a/HTMLKit/CSSAttributeSelector.m +++ b/HTMLKit/CSSAttributeSelector.m @@ -41,7 +41,7 @@ { self = [super init]; if (self) { - self.type = type; + _type = type; _name = [name copy]; _value = value ? [value copy]: @""; }