diff --git a/indra/newview/llfloaterfriends.cpp b/indra/newview/llfloaterfriends.cpp index b8f155914..095034be9 100644 --- a/indra/newview/llfloaterfriends.cpp +++ b/indra/newview/llfloaterfriends.cpp @@ -37,7 +37,7 @@ #include "llfloaterfriends.h" - +#include "llsdutil_math.h" #include "llagent.h" #include "llavataractions.h" #include "llavatarnamecache.h" @@ -428,7 +428,7 @@ BOOL LLPanelFriends::addFriend(const LLUUID& agent_id) friend_column["font-style"] = "NORMAL"; static const LLCachedControl sDefaultColor(gColors, "DefaultListText"); static const LLCachedControl sMutedColor("AscentMutedColor"); - friend_column["color"] = LLAvatarActions::isBlocked(agent_id) ? sMutedColor : sDefaultColor; + friend_column["color"] = ll_sd_from_color4(LLAvatarActions::isBlocked(agent_id) ? sMutedColor : sDefaultColor); LLSD& online_status_column = element["columns"][LIST_ONLINE_STATUS]; online_status_column["column"] = "icon_online_status";