Wrapped placeholder check in parens to work with bitwise
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -55,7 +55,7 @@ static char operationArrayKey; | @@ -55,7 +55,7 @@ static char operationArrayKey; | ||
55 | wself.image = image; | 55 | wself.image = image; |
56 | [wself setNeedsLayout]; | 56 | [wself setNeedsLayout]; |
57 | } else { | 57 | } else { |
58 | - if (options & SDWebImageDelayPlaceholder) { | 58 | + if ((options & SDWebImageDelayPlaceholder)) { |
59 | wself.image = placeholder; | 59 | wself.image = placeholder; |
60 | [wself setNeedsLayout]; | 60 | [wself setNeedsLayout]; |
61 | } | 61 | } |
-
Please register or login to post a comment