FIX: [droid] missing color in labels
size_t finish = text.find(L']', pos + 5);
if (on && finish != std::string::npos && text.find(L"[/COLOR]",finish) != std::string::npos)
{
- color_t color = g_colorManager.GetColor(text.substr(pos + 5, finish - pos - 5));
+ std::string t;
+ g_charsetConverter.wToUTF8(text.substr(pos + 5, finish - pos - 5), t);
+ color_t color = g_colorManager.GetColor(t);
vecColors::const_iterator it = std::find(colors.begin(), colors.end(), color);
if (it == colors.end())
{ // create new color