aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llgivemoney.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:16 -0500
committerJacek Antonelli2008-08-15 23:45:16 -0500
commit3f27ba891ac4d032753b219b4b96d1ffbc9fb488 (patch)
tree504932ee91a0356fba7ea48798887c96867e492f /linden/indra/newview/llgivemoney.cpp
parentSecond Life viewer sources 1.18.4.3 (diff)
downloadmeta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.zip
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.gz
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.bz2
meta-impy-3f27ba891ac4d032753b219b4b96d1ffbc9fb488.tar.xz
Second Life viewer sources 1.18.5.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llgivemoney.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llgivemoney.cpp b/linden/indra/newview/llgivemoney.cpp
index df902fb..01ffb02 100644
--- a/linden/indra/newview/llgivemoney.cpp
+++ b/linden/indra/newview/llgivemoney.cpp
@@ -239,8 +239,8 @@ void LLFloaterPay::processPayPriceReply(LLMessageSystem* msg, void **userdata)
239 msg->getS32Fast(_PREHASH_ButtonData,_PREHASH_PayButton,pay_button,i); 239 msg->getS32Fast(_PREHASH_ButtonData,_PREHASH_PayButton,pay_button,i);
240 if (pay_button > 0) 240 if (pay_button > 0)
241 { 241 {
242 LLString button_str; 242 LLString button_str = "L$";
243 gResMgr->getMonetaryString( button_str, pay_button ); 243 button_str += gResMgr->getMonetaryString( pay_button );
244 244
245 self->mQuickPayButton[i]->setLabelSelected(button_str); 245 self->mQuickPayButton[i]->setLabelSelected(button_str);
246 self->mQuickPayButton[i]->setLabelUnselected(button_str); 246 self->mQuickPayButton[i]->setLabelUnselected(button_str);
@@ -260,8 +260,8 @@ void LLFloaterPay::processPayPriceReply(LLMessageSystem* msg, void **userdata)
260 } 260 }
261 261
262 // build a string containing the maximum value and calc nerw button width from it. 262 // build a string containing the maximum value and calc nerw button width from it.
263 LLString balance_str; 263 LLString balance_str = "L$";
264 gResMgr->getMonetaryString( balance_str, max_pay_amount ); 264 balance_str += gResMgr->getMonetaryString( max_pay_amount );
265 const LLFontGL* font = gResMgr->getRes(LLFONT_SANSSERIF); 265 const LLFontGL* font = gResMgr->getRes(LLFONT_SANSSERIF);
266 S32 new_button_width = font->getWidth( LLString(balance_str)); 266 S32 new_button_width = font->getWidth( LLString(balance_str));
267 new_button_width += ( 12 + 12 ); // padding 267 new_button_width += ( 12 + 12 ); // padding