ibireme %!s(int64=9) %!d(string=hai) anos
pai
achega
fde42cfa64
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      YYWebImage/YYWebImageOperation.m

+ 1 - 1
YYWebImage/YYWebImageOperation.m

@@ -507,7 +507,7 @@ static void URLInBlackListAdd(NSURL *url) {
             _data = [NSMutableData dataWithCapacity:_expectedSize > 0 ? _expectedSize : 0];
             if (_progress) {
                 [_lock lock];
-                if ([self isCancelled]) _progress(0, _expectedSize);
+                if (![self isCancelled]) _progress(0, _expectedSize);
                 [_lock unlock];
             }
         }