changeset 32438:55e678325bda

build fix
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 29 Aug 2011 12:59:57 +0900
parents ac6353ffa129
children 0f94ec89f0bc
files libpurple/protocols/yahoo/yahoochat.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoochat.c	Mon Aug 29 12:28:49 2011 +0900
+++ b/libpurple/protocols/yahoo/yahoochat.c	Mon Aug 29 12:59:57 2011 +0900
@@ -1593,7 +1593,7 @@
 	char *id;
 	const char *rll;
 	GList *proto_data;
-	gboolean jp = purple_account_get_bool(list->account, "yahoojp", FALSE);
+	gboolean jp;
 
 	if (purple_roomlist_room_get_type(category) != PURPLE_ROOMLIST_ROOMTYPE_CATEGORY)
 		return;
@@ -1604,6 +1604,7 @@
 	}
 
 	account = purple_roomlist_get_account(list);
+	jp = purple_account_get_bool(account, "yahoojp", FALSE);
 	rll = jp ? YAHOOJP_ROOMLIST_LOCALE : purple_account_get_string(account, "room_list_locale", YAHOO_ROOMLIST_LOCALE);
 
 	if (rll != NULL && *rll != '\0') {