]> granicus.if.org Git - transmission/commitdiff
#5185 (trunk, gtk) fix sort-by-age with patch from elhana.
authorJordan Lee <jordan@transmissionbt.com>
Wed, 26 Dec 2012 23:36:23 +0000 (23:36 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Wed, 26 Dec 2012 23:36:23 +0000 (23:36 +0000)
gtk/tr-core.c

index b333573cc069a4340bf8466ab2aa856b42d3325d..2aa1d9a6eb1812a70e181a23465b973848025ee7 100644 (file)
@@ -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;