summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-22 17:54:13 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2010-01-22 17:54:13 +0200
commit1bcf723a3b6427a913729e02c62108e0e06e1f23 (patch)
treedcd3895ef56e0ca06cc21f5d555f0a8e70204439 /indra/newview/llviewermessage.cpp
parenteaefaf7b33dba4326b0ef0e9b82edda2436ae581 (diff)
Fixed low bug EXT-4306 - Landmark name is shown with prefix in the group notice attachment.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r--indra/newview/llviewermessage.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 7487fa9997..0358efc0af 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -1472,7 +1472,12 @@ void inventory_offer_handler(LLOfferInfo* info)
{
LLStringUtil::truncate(msg, indx);
}
-
+
+ if(LLAssetType::AT_LANDMARK == info->mType)
+ {
+ msg = LLViewerInventoryItem::getDisplayName(msg);
+ }
+
LLSD args;
args["[OBJECTNAME]"] = msg;