changeset 1005:b1572ac4246c

[gaim-migrate @ 1015] this becomes important when dynamic protocols are loaded before TOC and Oscar committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 19 Oct 2000 00:59:20 +0000
parents 69c936ca2b04
children 0a4d0ed65e17
files src/multi.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Wed Oct 18 21:28:21 2000 +0000
+++ b/src/multi.c	Thu Oct 19 00:59:20 2000 +0000
@@ -278,7 +278,8 @@
 		gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), u->protocol);
 		u->tmp_protocol = u->protocol;
 	} else {
-		gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu), PROTO_TOC);
+		gtk_option_menu_set_history(GTK_OPTION_MENU(optmenu),
+				((struct prpl *)protocols->data)->protocol);
 	}
 
 	return optmenu;