--- a/libpurple/protocols/gg/purplew.c Tue Feb 04 00:30:47 2014 +0100 +++ b/libpurple/protocols/gg/purplew.c Tue Feb 04 00:53:44 2014 +0100 @@ -98,19 +98,20 @@ g_return_val_if_fail(group != NULL, NULL); gnode = PURPLE_BLIST_NODE(group); - for (cnode = gnode->child; cnode; cnode = cnode->next) - { + for (cnode = gnode->child; cnode; cnode = cnode->next) { if (!PURPLE_IS_CONTACT(cnode)) continue; - for (bnode = cnode->child; bnode; bnode = bnode->next) - { + for (bnode = cnode->child; bnode; bnode = bnode->next) { PurpleBuddy *buddy; if (!PURPLE_IS_BUDDY(bnode)) continue; buddy = PURPLE_BUDDY(bnode); - if (account == NULL || purple_buddy_get_account(buddy) == account) + if (account == NULL || + purple_buddy_get_account(buddy) == account) + { buddies = g_list_append(buddies, buddy); + } } } @@ -121,8 +122,7 @@ { PurpleBlistNode *bnode; GList *groups = NULL; - for (bnode = purple_blist_get_root(); bnode; bnode = bnode->next) - { + for (bnode = purple_blist_get_root(); bnode; bnode = bnode->next) { PurpleGroup *group; GSList *accounts; gboolean have_specified = FALSE, have_others = FALSE; @@ -131,7 +131,8 @@ continue; group = PURPLE_GROUP(bnode); - for (accounts = purple_group_get_accounts(group); accounts; accounts = g_slist_delete_link(accounts, accounts)) + for (accounts = purple_group_get_accounts(group); accounts; + accounts = g_slist_delete_link(accounts, accounts)) { if (accounts->data == account) have_specified = TRUE;