diff --git a/macosx/PeerProgressIndicatorCell.m b/macosx/PeerProgressIndicatorCell.m index f346bc386..fbc4ed918 100644 --- a/macosx/PeerProgressIndicatorCell.m +++ b/macosx/PeerProgressIndicatorCell.m @@ -81,7 +81,8 @@ NSImage * checkImage = [NSImage imageNamed: @"CompleteCheck.png"]; const NSSize imageSize = [checkImage size]; - const NSRect rect = NSMakeRect(NSMidX(cellFrame) - imageSize.width * 0.5, NSMidY(cellFrame) - imageSize.height * 0.5, + const NSRect rect = NSMakeRect(floor(NSMidX(cellFrame) - imageSize.width * 0.5), + floor(NSMidY(cellFrame) - imageSize.height * 0.5), imageSize.width, imageSize.height); if ([NSApp isOnSnowLeopardOrBetter])