changeset 2900:aaaca46b507b

[gaim-migrate @ 2913] i love you all. thanks jharris committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 20 Dec 2001 12:39:41 +0000
parents 019d7462337b
children 966f623dbd35
files plugins/chatlist.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/chatlist.c	Thu Dec 20 09:26:12 2001 +0000
+++ b/plugins/chatlist.c	Thu Dec 20 12:39:41 2001 +0000
@@ -84,6 +84,8 @@
 				   GTK_SIGNAL_FUNC(handle_click_chat), cr);
 		crs = crs->next;
 	}
+
+	gtk_tree_item_expand(GTK_TREE_ITEM(item));
 }
 
 static void save_chat_prefs()
@@ -176,7 +178,7 @@
 		if (!g_strncasecmp(AOL_SRCHSTR, c, strlen(AOL_SRCHSTR))) {
 			char *t;
 			int len = 0;
-			int exchange;
+			int exchange = 4;
 			char *name = NULL;
 
 			c += strlen(AOL_SRCHSTR);
@@ -188,8 +190,8 @@
 					name[len - 1] = ' ';
 				else if (*t == '&') {
 					name[len - 1] = 0;
-					sscanf(t, "&Exchange=%d", &exchange);
-					c = t + strlen("&Exchange=x");
+					sscanf(t, "&amp;Exchange=%d", &exchange);
+					c = t + strlen("&amp;Exchange=x");
 					break;
 				} else
 					name[len - 1] = *t;