changeset 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 84d53c3c699d
children d54fecfe6bf7
files libpurple/protocols/jabber/xdata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);