diff libpurple/log.c @ 29500:5d05940859fa

pidgin: Distinguish no logs from really old logs (for Recent Log Activity sort) Closes #11466. Patch from Greg McNew. committer: Paul Aurich <paul@darkrain42.org>
author gmcnew@gmail.com
date Sun, 28 Feb 2010 19:15:03 +0000
parents 36f23fdb58b6
children 5ffe7f1d4efa
line wrap: on
line diff
--- a/libpurple/log.c	Sun Feb 28 19:09:20 2010 +0000
+++ b/libpurple/log.c	Sun Feb 28 19:15:03 2010 +0000
@@ -302,7 +302,7 @@
 			}
 		}
 
-		score = (gint)score_double;
+		score = (gint) ceil(score_double);
 		g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score));
 	}
 	return score;