From e0d2b599312b405a25b515f6ef8fb28aae75d70d Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 14 Dec 2009 23:47:15 +0000 Subject: [PATCH] one less calculation --- macosx/TorrentCell.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index 7fab8d866..810169309 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -635,9 +635,10 @@ if (minimal) result.size.width -= PADDING_BETWEEN_TITLE_AND_MIN_STATUS + NSWidth(statusRect); if ([[self representedObject] priority] != TR_PRI_NORMAL) + { result.size.width -= PRIORITY_ICON_WIDTH + PADDING_BETWEEN_TITLE_AND_PRIORITY; - - result.size.width = MIN(result.size.width, [string size].width); + result.size.width = MIN(result.size.width, [string size].width); //only need to force it smaller for the priority icon + } return result; }