aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterfriends.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterfriends.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterfriends.cpp b/linden/indra/newview/llfloaterfriends.cpp
index d3fd9b9..84ba81e 100644
--- a/linden/indra/newview/llfloaterfriends.cpp
+++ b/linden/indra/newview/llfloaterfriends.cpp
@@ -262,7 +262,7 @@ BOOL LLPanelFriends::addFriend(const LLUUID& agent_id)
262 LLAvatarName avatar_name; 262 LLAvatarName avatar_name;
263 if (LLAvatarNameCache::get(agent_id, &avatar_name)) 263 if (LLAvatarNameCache::get(agent_id, &avatar_name))
264 { 264 {
265 if (LLAvatarNameCache::useDisplayNames() == 2) 265 if (LLAvatarNameCache::useDisplayNames() == 1)
266 { 266 {
267 fullname = avatar_name.mDisplayName; 267 fullname = avatar_name.mDisplayName;
268 } 268 }
@@ -358,7 +358,7 @@ BOOL LLPanelFriends::updateFriendItem(const LLUUID& agent_id, const LLRelationsh
358 LLAvatarName avatar_name; 358 LLAvatarName avatar_name;
359 if (LLAvatarNameCache::get(agent_id, &avatar_name)) 359 if (LLAvatarNameCache::get(agent_id, &avatar_name))
360 { 360 {
361 if (LLAvatarNameCache::useDisplayNames() == 2) 361 if (LLAvatarNameCache::useDisplayNames() == 1)
362 { 362 {
363 fullname = avatar_name.mDisplayName; 363 fullname = avatar_name.mDisplayName;
364 } 364 }