summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-10-29 13:15:16 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-10-29 13:15:16 -0700
commitebc8cdd6cbd8207a54314c71fd6abc6e8a49893b (patch)
treebcd7ff16b784cd98963db547bd861d5b43db22a8 /indra
parentf34683dcdedb4f0ba0799ffb6382960a8a73403d (diff)
DN-154 Display Names only shown in Nearby Chat History when a user logs back in even if Usernames were shown in Chat during previous session
Diffstat (limited to 'indra')
-rw-r--r--indra/llmessage/llcachename.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp
index deaa3e138e..a8f53a38c3 100644
--- a/indra/llmessage/llcachename.cpp
+++ b/indra/llmessage/llcachename.cpp
@@ -575,7 +575,7 @@ std::string LLCacheName::buildLegacyName(const std::string& complete_name)
LLStringUtil::toUpper(cap_letter);
legacy_name = cap_letter + legacy_name.substr(1);
- if (name_results[4].matched)
+ if (name_results[3].matched)
{
std::string last_name = name_results[3];
std::string cap_letter = last_name.substr(1, 1);