diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 57b723280..4e69ac492 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -231,7 +231,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void * fPreviousFinishedPieces = tab; [fFinishedPiecesDate release]; - fFinishedPiecesDate = fPreviousFinishedPieces != NULL ? [[NSDate alloc] init] : nil; + fFinishedPiecesDate = tab != NULL ? [[NSDate alloc] init] : nil; } - (void) update