/pidgin/main: 38c5d7673339: Fix newly introduced blist bug
Tomasz Wasilczyk
twasilczyk at pidgin.im
Wed May 7 05:44:43 EDT 2014
Changeset: 38c5d7673339e6dcabcae3a68e9abd32e39ad4bd
Author: Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date: 2014-05-07 11:44 +0200
Branch: release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/38c5d7673339
Description:
Fix newly introduced blist bug
diffstat:
pidgin/gtkblist.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c
--- a/pidgin/gtkblist.c
+++ b/pidgin/gtkblist.c
@@ -6257,15 +6257,15 @@ static gboolean insert_node(PurpleBuddyL
if(!iter)
return FALSE;
+ /* XXX: it's not necessary, but let's silence a warning*/
+ memset(&parent_iter, 0, sizeof(parent_iter));
+
if(node->parent && !get_iter_from_node(node->parent, &parent_iter))
return FALSE;
if(get_iter_from_node(node, &cur))
curptr = &cur;
- /* XXX: it's not necessary, but let's silence a warning*/
- memset(&parent_iter, 0, sizeof(parent_iter));
-
if(PURPLE_BLIST_NODE_IS_CONTACT(node) || PURPLE_BLIST_NODE_IS_CHAT(node)) {
current_sort_method->func(node, list, parent_iter, curptr, iter);
} else {
More information about the Commits
mailing list