summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llvoavatar.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index 4235f97eab..7df24c9ade 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -2792,8 +2792,12 @@ void LLVOAvatar::idleUpdateNameTag(const LLVector3& root_pos_last)
line += firstname->getString();
}
- line += " ";
- line += lastname->getString();
+ // Suppress last name "Resident" as this is used for new SLID names
+ if (strcmp(lastname->getString(), "Resident"))
+ {
+ line += " ";
+ line += lastname->getString();
+ }
BOOL need_comma = FALSE;
if (is_away || is_muted || is_busy)