From: Jordan Lee Date: Wed, 26 Dec 2012 23:36:23 +0000 (+0000) Subject: #5185 (trunk, gtk) fix sort-by-age with patch from elhana. X-Git-Tag: 2.80~356 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4ab5d299fd30782bd0aef6178cae7775f788116;p=transmission #5185 (trunk, gtk) fix sort-by-age with patch from elhana. --- diff --git a/gtk/tr-core.c b/gtk/tr-core.c index b333573cc..2aa1d9a6e 100644 --- a/gtk/tr-core.c +++ b/gtk/tr-core.c @@ -403,7 +403,7 @@ compare_time (time_t a, time_t b) if (a < b) ret = -1; - if (a > b) + else if (a > b) ret = 1; else ret = 0;