Commit b86ada81 authored by Romain Bignon's avatar Romain Bignon Committed by Romain Bignon

fix display of choices

parent 47361709
......@@ -493,7 +493,7 @@ void* Request::request_choice(const char *title, const char *primary,
while ((text = va_arg(choices, const char *)))
{
int val = va_arg(choices, int);
string tmp;
string tmp = text;
request->addField(new RequestFieldAction<PurpleRequestChoiceCb>(val, strlower(stringtok(tmp, "_ ")), text, (PurpleRequestChoiceCb)ok_cb, user_data));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment