/pidgin/main: c61b41a5a37f: Fix a counting error

Ankit Vani a at nevitus.org
Sat Apr 19 10:11:06 EDT 2014


Changeset: c61b41a5a37fa2227d2250417ccaa2f6e5957c49
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-04-19 18:41 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/pidgin/main/rev/c61b41a5a37f

Description:

Fix a counting error

diffstat:

 libpurple/buddylist.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/buddylist.c b/libpurple/buddylist.c
--- a/libpurple/buddylist.c
+++ b/libpurple/buddylist.c
@@ -1364,7 +1364,7 @@ void purple_blist_remove_buddy(PurpleBud
 		if (PURPLE_BUDDY_IS_ONLINE(buddy)) {
 			purple_counting_node_change_online_count(contact_counter, -1);
 			if (purple_counting_node_get_online_count(contact_counter) == 0)
-				purple_counting_node_set_online_count(group_counter, -1);
+				purple_counting_node_change_online_count(group_counter, -1);
 		}
 		if (purple_account_is_connected(account)) {
 			purple_counting_node_change_current_size(contact_counter, -1);



More information about the Commits mailing list