Wrapped placeholder check in parens to work with bitwise

This commit is contained in:
Bill Burgess 2014-04-29 10:27:54 -05:00
parent 7ca81d0e36
commit 9a45faac3f
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ static char operationArrayKey;
wself.image = image;
[wself setNeedsLayout];
} else {
if (options & SDWebImageDelayPlaceholder) {
if ((options & SDWebImageDelayPlaceholder)) {
wself.image = placeholder;
[wself setNeedsLayout];
}