diff options
Diffstat (limited to 'linden/indra/newview/llpanelgrouplandmoney.cpp')
-rw-r--r-- | linden/indra/newview/llpanelgrouplandmoney.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llpanelgrouplandmoney.cpp b/linden/indra/newview/llpanelgrouplandmoney.cpp index 85fd6f6..483aff1 100644 --- a/linden/indra/newview/llpanelgrouplandmoney.cpp +++ b/linden/indra/newview/llpanelgrouplandmoney.cpp | |||
@@ -12,12 +12,12 @@ | |||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | 12 | * ("GPL"), unless you have obtained a separate licensing agreement |
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlife.com/developers/opensource/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlife.com/developers/opensource/flossexception | 20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
21 | * | 21 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 22 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 23 | * that you have read and understood your obligations described above, |
@@ -238,7 +238,7 @@ void LLPanelGroupLandMoney::impl::onMapButton() | |||
238 | 238 | ||
239 | F32 global_x = 0.f; | 239 | F32 global_x = 0.f; |
240 | F32 global_y = 0.f; | 240 | F32 global_y = 0.f; |
241 | sscanf(cellp->getText().c_str(), "%f %f", &global_x, &global_y); | 241 | sscanf(cellp->getValue().asString().c_str(), "%f %f", &global_x, &global_y); |
242 | 242 | ||
243 | // Hack: Use the agent's z-height | 243 | // Hack: Use the agent's z-height |
244 | F64 global_z = gAgent.getPositionGlobal().mdV[VZ]; | 244 | F64 global_z = gAgent.getPositionGlobal().mdV[VZ]; |
@@ -665,7 +665,7 @@ BOOL LLPanelGroupLandMoney::postBuild() | |||
665 | { | 665 | { |
666 | if ( mImplementationp->mGroupParcelsp ) | 666 | if ( mImplementationp->mGroupParcelsp ) |
667 | { | 667 | { |
668 | mImplementationp->mGroupParcelsp->addSimpleItem( | 668 | mImplementationp->mGroupParcelsp->addCommentText( |
669 | mImplementationp->mCantViewParcelsText); | 669 | mImplementationp->mCantViewParcelsText); |
670 | mImplementationp->mGroupParcelsp->setEnabled(FALSE); | 670 | mImplementationp->mGroupParcelsp->setEnabled(FALSE); |
671 | } | 671 | } |