summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-25 13:32:17 +0200
committerYchebotarev ProductEngine <ychebotarev@productengine.com>2010-01-25 13:32:17 +0200
commit088056c5bf4adc589c7fcc65236b90a466e59705 (patch)
tree9f3967255a46a396adf51fd39d3859cfa385e633 /indra/newview/llviewermessage.cpp
parent7fc90e2385c6376599818a3a7a3d815535671178 (diff)
parent149c56ae429b0dc8ebf349027fe855066b3447f7 (diff)
merge
--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;