pidgin: 52e841c9: Fix a crash which I think happens when t...

sadrul at pidgin.im sadrul at pidgin.im
Tue Apr 22 22:35:38 EDT 2008


-----------------------------------------------------------------
Revision: 52e841c96296ab164c2be839e9d404dc1f9a6a9e
Ancestor: 72d651bedf881d43552b232aa17cbb16208b0df0
Author: sadrul at pidgin.im
Date: 2008-04-23T02:31:11
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/52e841c96296ab164c2be839e9d404dc1f9a6a9e

Modified files:
        finch/gntconv.c

ChangeLog: 

Fix a crash which I think happens when the same buddy is in the buddylist
more than once, and when certain stars are aligned.

-------------- next part --------------
============================================================
--- finch/gntconv.c	7db0e89190623892eeed92ffa11408cc8c8de667
+++ finch/gntconv.c	30745c858f6b474ab29f64d930263a461a9d7a77
@@ -682,7 +682,7 @@ finch_create_conversation(PurpleConversa
 	ggc->active_conv = conv;
 	FINCH_SET_DATA(conv, ggc);
 
-	if (cc && FINCH_GET_DATA(cc)) {
+	if (cc && FINCH_GET_DATA(cc) && cc != conv) {
 		finch_conversation_set_active(conv);
 		return;
 	}


More information about the Commits mailing list