From 3a0cabdccad2c60e55aad8352d9690fcea3bb5e3 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 1 Jun 2013 10:41:24 +0200 Subject: [PATCH] Compile fix --- indra/newview/lggcontactsets.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/indra/newview/lggcontactsets.cpp b/indra/newview/lggcontactsets.cpp index 2f3ba77f37..c8ad870062 100644 --- a/indra/newview/lggcontactsets.cpp +++ b/indra/newview/lggcontactsets.cpp @@ -391,10 +391,14 @@ LLColor4 LGGContactSets::colorize(const LLUUID& uuid, const LLColor4& cur_color, color = LLUIColorTable::instance().getColor("FriendsChatColor", LLColor4::white); break; case LGG_CS_TAG: - // This is optional per prefs. - static LLUICachedControl color_friends("NameTagShowFriends"); - if(color_friends) - color = LLUIColorTable::instance().getColor("NameTagFriend", LLColor4::white); + { + // This is optional per prefs. + static LLUICachedControl color_friends("NameTagShowFriends"); + if (color_friends) + { + color = LLUIColorTable::instance().getColor("NameTagFriend", LLColor4::white); + } + } break; case LGG_CS_MINIMAP: color = LLUIColorTable::instance().getColor("MapAvatarFriendColor", LLColor4::white);