diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterbuyland.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterbuyland.cpp b/linden/indra/newview/llfloaterbuyland.cpp index ed7f619..9ae634c 100644 --- a/linden/indra/newview/llfloaterbuyland.cpp +++ b/linden/indra/newview/llfloaterbuyland.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llfloaterbuyland.cpp | 2 | * @file llfloaterbuyland.cpp |
3 | * @brief LLFloaterBuyLand class implementation | 3 | * @brief LLFloaterBuyLand class implementation |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2005&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2005-2007, Linden Research, Inc. | 7 | * Copyright (c) 2005-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
@@ -1019,9 +1022,9 @@ void LLFloaterBuyLandUI::refreshUI() | |||
1019 | } | 1022 | } |
1020 | else | 1023 | else |
1021 | { | 1024 | { |
1022 | childSetText("info_parcel", "(no parcel selected)"); | 1025 | childSetText("info_parcel", childGetText("no_parcel_selected")); |
1023 | childSetText("info_size", ""); | 1026 | childSetText("info_size", LLString::null); |
1024 | childSetText("info_price", ""); | 1027 | childSetText("info_price", LLString::null); |
1025 | } | 1028 | } |
1026 | 1029 | ||
1027 | childSetText("info_action", | 1030 | childSetText("info_action", |
@@ -1124,7 +1127,7 @@ void LLFloaterBuyLandUI::refreshUI() | |||
1124 | 1127 | ||
1125 | if (mIsForGroup) | 1128 | if (mIsForGroup) |
1126 | { | 1129 | { |
1127 | childSetTextArg("insufficient_land_credits", "[GROUP]", gAgent.mGroupName); | 1130 | childSetTextArg("insufficient_land_credits", "[GROUP]", LLString(gAgent.mGroupName)); |
1128 | 1131 | ||
1129 | 1132 | ||
1130 | message += childGetText("insufficient_land_credits"); | 1133 | message += childGetText("insufficient_land_credits"); |
@@ -1303,7 +1306,7 @@ void LLFloaterBuyLandUI::startBuyPreConfirm() | |||
1303 | } | 1306 | } |
1304 | 1307 | ||
1305 | childSetTextArg("pay_to_for_land", "[AMOUNT]", llformat("%d", mParcelPrice)); | 1308 | childSetTextArg("pay_to_for_land", "[AMOUNT]", llformat("%d", mParcelPrice)); |
1306 | childSetTextArg("pay_to_for_land", "[SELLER]", mParcelSellerName.c_str()); | 1309 | childSetTextArg("pay_to_for_land", "[SELLER]", mParcelSellerName); |
1307 | 1310 | ||
1308 | action += childGetText("pay_to_for_land"); | 1311 | action += childGetText("pay_to_for_land"); |
1309 | 1312 | ||
@@ -1346,3 +1349,4 @@ void LLFloaterBuyLandUI::onClickErrorWeb(void* data) | |||
1346 | self->close(); | 1349 | self->close(); |
1347 | } | 1350 | } |
1348 | 1351 | ||
1352 | |||