diff libpurple/protocols/jabber/xdata.c @ 18756:9b0fd9a4d01b

For XMPP multi-selection lists in generic data forms, the intent here was to use the option value as the label in the event that the label wasn't specified, but the wrong variable was being set. This probably happens only very rarely, because the label is pretty much always set. In fact, it wouldn't suprise me if this has never happened.
author Mark Doliner <mark@kingant.net>
date Tue, 31 Jul 2007 16:11:21 +0000
parents ab6d2763b8d8
children 3afcfbed2ced 44b4e8bd759b 516c5473e312
line wrap: on
line diff
--- a/libpurple/protocols/jabber/xdata.c	Tue Jul 31 06:51:29 2007 +0000
+++ b/libpurple/protocols/jabber/xdata.c	Tue Jul 31 16:11:21 2007 +0000
@@ -256,7 +256,7 @@
 					continue;
 
 				if(!(lbl = xmlnode_get_attrib(optnode, "label")))
-					label = value;
+					lbl = value;
 
 				data->values = g_slist_prepend(data->values, value);