libpurple/log.c

changeset 29784
17baa4c9a8c5
parent 28119
3da0d6dbb454
child 29785
89123afa2e94
--- 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;

mercurial