comparison libpurple/log.c @ 29898: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
comparison
equal deleted inserted replaced
29897:8b469e799ed9 29898:5d05940859fa
300 logs = g_list_delete_link(logs, logs); 300 logs = g_list_delete_link(logs, logs);
301 } 301 }
302 } 302 }
303 } 303 }
304 304
305 score = (gint)score_double; 305 score = (gint) ceil(score_double);
306 g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score)); 306 g_hash_table_replace(logsize_users_decayed, lu, GINT_TO_POINTER(score));
307 } 307 }
308 return score; 308 return score;
309 } 309 }
310 310