[gaim-migrate @ 15439]

Tue, 31 Jan 2006 03:43:04 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Tue, 31 Jan 2006 03:43:04 +0000
changeset 13078
724fb0043eea
parent 13077
418101346d08
child 13079
8833b4eeaff9

[gaim-migrate @ 15439]
This should make comparing log size structs a little faster.

src/log.c file | annotate | diff | comparison | revisions
--- 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)

mercurial