aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycontents.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/llfloaterbuycontents.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/llfloaterbuycontents.cpp')
-rw-r--r--linden/indra/newview/llfloaterbuycontents.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/newview/llfloaterbuycontents.cpp b/linden/indra/newview/llfloaterbuycontents.cpp
index 1afc38f..d32a631 100644
--- a/linden/indra/newview/llfloaterbuycontents.cpp
+++ b/linden/indra/newview/llfloaterbuycontents.cpp
@@ -124,9 +124,7 @@ void LLFloaterBuyContents::show(const LLSaleInfo& sale_info)
124 if (!node) return; 124 if (!node) return;
125 if(node->mPermissions->isGroupOwned()) 125 if(node->mPermissions->isGroupOwned())
126 { 126 {
127 char group_name[MAX_STRING]; /*Flawfinder: ignore*/ 127 gCacheName->getGroupName(owner_id, owner_name);
128 gCacheName->getGroupName(owner_id, group_name);
129 owner_name.assign(group_name);
130 } 128 }
131 129
132 sInstance->childSetTextArg("contains_text", "[NAME]", node->mName); 130 sInstance->childSetTextArg("contains_text", "[NAME]", node->mName);
@@ -240,15 +238,15 @@ void LLFloaterBuyContents::inventoryChanged(LLViewerObject* obj,
240 238
241 if (!(next_owner_mask & PERM_COPY)) 239 if (!(next_owner_mask & PERM_COPY))
242 { 240 {
243 text.append(childGetText("no_copy_text")); 241 text.append(getString("no_copy_text"));
244 } 242 }
245 if (!(next_owner_mask & PERM_MODIFY)) 243 if (!(next_owner_mask & PERM_MODIFY))
246 { 244 {
247 text.append(childGetText("no_modify_text")); 245 text.append(getString("no_modify_text"));
248 } 246 }
249 if (!(next_owner_mask & PERM_TRANSFER)) 247 if (!(next_owner_mask & PERM_TRANSFER))
250 { 248 {
251 text.append(childGetText("no_transfer_text")); 249 text.append(getString("no_transfer_text"));
252 } 250 }
253 251
254 row["columns"][1]["column"] = "text"; 252 row["columns"][1]["column"] = "text";