aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgivemoney.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:11 -0500
committerJacek Antonelli2008-08-15 23:45:11 -0500
commit215f423cbe18fe9ca14a26caef918d303bad28ff (patch)
tree0743442b286216cc8e19aa487c26f4e9345ffd64 /linden/indra/newview/llgivemoney.cpp
parentSecond Life viewer sources 1.18.3.5-RC (diff)
downloadmeta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.zip
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.gz
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.bz2
meta-impy-215f423cbe18fe9ca14a26caef918d303bad28ff.tar.xz
Second Life viewer sources 1.18.4.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llgivemoney.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/linden/indra/newview/llgivemoney.cpp b/linden/indra/newview/llgivemoney.cpp
index 9ae6c67..df902fb 100644
--- a/linden/indra/newview/llgivemoney.cpp
+++ b/linden/indra/newview/llgivemoney.cpp
@@ -3,6 +3,8 @@
3 * @author Aaron Brashears, Kelly Washington, James Cook 3 * @author Aaron Brashears, Kelly Washington, James Cook
4 * @brief Implementation of the LLFloaterPay class. 4 * @brief Implementation of the LLFloaterPay class.
5 * 5 *
6 * $LicenseInfo:firstyear=2002&license=viewergpl$
7 *
6 * Copyright (c) 2002-2007, Linden Research, Inc. 8 * Copyright (c) 2002-2007, Linden Research, Inc.
7 * 9 *
8 * Second Life Viewer Source Code 10 * Second Life Viewer Source Code
@@ -25,6 +27,7 @@
25 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 27 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
26 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 28 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
27 * COMPLETENESS OR PERFORMANCE. 29 * COMPLETENESS OR PERFORMANCE.
30 * $/LicenseInfo$
28 */ 31 */
29 32
30#include "llviewerprecompiledheaders.h" 33#include "llviewerprecompiledheaders.h"
@@ -239,8 +242,8 @@ void LLFloaterPay::processPayPriceReply(LLMessageSystem* msg, void **userdata)
239 LLString button_str; 242 LLString button_str;
240 gResMgr->getMonetaryString( button_str, pay_button ); 243 gResMgr->getMonetaryString( button_str, pay_button );
241 244
242 self->mQuickPayButton[i]->setLabelSelected(button_str.c_str()); 245 self->mQuickPayButton[i]->setLabelSelected(button_str);
243 self->mQuickPayButton[i]->setLabelUnselected(button_str.c_str()); 246 self->mQuickPayButton[i]->setLabelUnselected(button_str);
244 self->mQuickPayButton[i]->setVisible(TRUE); 247 self->mQuickPayButton[i]->setVisible(TRUE);
245 self->mQuickPayInfo[i]->mAmount = pay_button; 248 self->mQuickPayInfo[i]->mAmount = pay_button;
246 self->childSetVisible("fastpay text",TRUE); 249 self->childSetVisible("fastpay text",TRUE);
@@ -402,8 +405,8 @@ void LLFloaterPay::onCacheOwnerName(const LLUUID& owner_id,
402 self->childSetVisible("payee_resident",true); 405 self->childSetVisible("payee_resident",true);
403 } 406 }
404 407
405 self->childSetTextArg("payee_name", "[FIRST]", firstname); 408 self->childSetTextArg("payee_name", "[FIRST]", LLString(firstname));
406 self->childSetTextArg("payee_name", "[LAST]", lastname); 409 self->childSetTextArg("payee_name", "[LAST]", LLString(lastname));
407} 410}
408 411
409// static 412// static
@@ -486,3 +489,4 @@ void LLFloaterPay::give(S32 amount)
486/// Local function definitions 489/// Local function definitions
487///---------------------------------------------------------------------------- 490///----------------------------------------------------------------------------
488 491
492