changeset 13077:64ca89ffc639

[gaim-migrate @ 15439] This should make comparing log size structs a little faster. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 31 Jan 2006 03:43:04 +0000
parents f3abb141042a
children 55c1e5cec4dc
files src/log.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Tue Jan 31 03:41:59 2006 +0000
+++ b/src/log.c	Tue Jan 31 03:43:04 2006 +0000
@@ -154,7 +154,7 @@
 static guint _gaim_logsize_user_equal(struct _gaim_logsize_user *lu1,
 		struct _gaim_logsize_user *lu2)
 {
-	return ((!strcmp(lu1->name, lu2->name)) && lu1->account == lu2->account);
+	return (lu1->account == lu2->account && (!strcmp(lu1->name, lu2->name)));
 }
 
 static void _gaim_logsize_user_free_key(struct _gaim_logsize_user *lu)