summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-02-01 11:00:42 -0800
committerJames Cook <james@lindenlab.com>2010-02-01 11:00:42 -0800
commit660f1a9ecb8204d2f12fa30262955ea45f67a68d (patch)
treeb1b3fc3ce323f1f76197b040bbd7320bff8ab488
parente88e1022f804bd23edff73f95e5ac3cec5effcfb (diff)
Fixed typo in SLURL name conversion for "Resident"
-rw-r--r--indra/newview/llurlentryagent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llurlentryagent.cpp b/indra/newview/llurlentryagent.cpp
index d104fdf20d..6af7c9001d 100644
--- a/indra/newview/llurlentryagent.cpp
+++ b/indra/newview/llurlentryagent.cpp
@@ -90,7 +90,8 @@ static std::string clean_name(const std::string& first, const std::string& last)
}
std::string fullname = first;
- if (!last.empty())
+ if (!last.empty()
+ && last != "Resident")
{
fullname += ' ';
fullname += last;