From 382dd2cfdcd0e44075779e490fad86552f7f686e Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 7 Mar 2008 13:23:01 +0000 Subject: [PATCH] adjustments to last activity field --- macosx/InfoWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 63d4ce480..58c7c6c1f 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -1070,7 +1070,7 @@ typedef enum NSDate * nextLastActivity; if ((nextLastActivity = [torrent dateActivity])) - lastActivity = [nextLastActivity laterDate: lastActivity]; + lastActivity = lastActivity ? [lastActivity laterDate: nextLastActivity] : nextLastActivity; } if (have == 0)