summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-10-15 16:41:30 -0400
committerOz Linden <oz@lindenlab.com>2010-10-15 16:41:30 -0400
commitba2300b8aeff30a64d3f34b0cd5c49aa890e0639 (patch)
treed7a7f4aa61d1b2bd28374e5c61f3d6730d450574 /indra/newview/llviewerinventory.cpp
parenta8b5da9a70936923e650bd5c200276da49106784 (diff)
parent18321756297bd9b04a4204abe4fbb0e3e8112186 (diff)
pull fix for STORM-211
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
-rw-r--r--indra/newview/llviewerinventory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp
index 75a5b14154..7dbaa4cf92 100644
--- a/indra/newview/llviewerinventory.cpp
+++ b/indra/newview/llviewerinventory.cpp
@@ -1776,9 +1776,9 @@ PermissionMask LLViewerInventoryItem::getPermissionMask() const
//----------
-void LLViewerInventoryItem::onCallingCardNameLookup(const LLUUID& id, const std::string& first_name, const std::string& last_name)
+void LLViewerInventoryItem::onCallingCardNameLookup(const LLUUID& id, const std::string& name, bool is_group)
{
- rename(first_name + " " + last_name);
+ rename(name);
gInventory.addChangedMask(LLInventoryObserver::LABEL, getUUID());
gInventory.notifyObservers();
}