aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelgroupgeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelgroupgeneral.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelgroupgeneral.cpp b/linden/indra/newview/llpanelgroupgeneral.cpp
index 871bc4b..e99f341 100644
--- a/linden/indra/newview/llpanelgroupgeneral.cpp
+++ b/linden/indra/newview/llpanelgroupgeneral.cpp
@@ -452,7 +452,7 @@ bool LLPanelGroupGeneral::apply(LLString& mesg)
452 if (!gdatap) 452 if (!gdatap)
453 { 453 {
454 mesg = "No group data found for group "; 454 mesg = "No group data found for group ";
455 mesg.append(mGroupID.getString()); 455 mesg.append(mGroupID.asString());
456 return false; 456 return false;
457 } 457 }
458 458
@@ -638,7 +638,7 @@ void LLPanelGroupGeneral::update(LLGroupChange gc)
638 } 638 }
639 if ( mBtnJoinGroup ) 639 if ( mBtnJoinGroup )
640 { 640 {
641 char fee_buff[20]; 641 char fee_buff[20]; /*Flawfinder: ignore*/
642 bool visible; 642 bool visible;
643 643
644 visible = !is_member && gdatap->mOpenEnrollment; 644 visible = !is_member && gdatap->mOpenEnrollment;
@@ -646,7 +646,7 @@ void LLPanelGroupGeneral::update(LLGroupChange gc)
646 646
647 if ( visible ) 647 if ( visible )
648 { 648 {
649 sprintf(fee_buff, "Join (L$%d)", gdatap->mMembershipFee); 649 snprintf(fee_buff, sizeof(fee_buff), "Join (L$%d)", gdatap->mMembershipFee); /*Flawfinder: ignore*/
650 mBtnJoinGroup->setLabelSelected(std::string(fee_buff)); 650 mBtnJoinGroup->setLabelSelected(std::string(fee_buff));
651 mBtnJoinGroup->setLabelUnselected(std::string(fee_buff)); 651 mBtnJoinGroup->setLabelUnselected(std::string(fee_buff));
652 } 652 }