aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcurrencyuimanager.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llcurrencyuimanager.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llcurrencyuimanager.cpp')
-rw-r--r--linden/indra/newview/llcurrencyuimanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llcurrencyuimanager.cpp b/linden/indra/newview/llcurrencyuimanager.cpp
index 74f6c71..ddacd3b 100644
--- a/linden/indra/newview/llcurrencyuimanager.cpp
+++ b/linden/indra/newview/llcurrencyuimanager.cpp
@@ -122,6 +122,7 @@ LLCurrencyUIManager::Impl::Impl(LLPanel& dialog)
122 mError(false), 122 mError(false),
123 mUserCurrencyBuy(1000), mUserEnteredCurrencyBuy(false), 123 mUserCurrencyBuy(1000), mUserEnteredCurrencyBuy(false),
124 mSiteCurrencyEstimated(false), 124 mSiteCurrencyEstimated(false),
125 mSiteCurrencyEstimatedCost(0),
125 mBought(false), 126 mBought(false),
126 mTransactionType(TransactionNone), mTransaction(0), 127 mTransactionType(TransactionNone), mTransaction(0),
127 mCurrencyChanged(false) 128 mCurrencyChanged(false)
@@ -380,7 +381,7 @@ void LLCurrencyUIManager::Impl::updateUI()
380 { 381 {
381 if (!mZeroMessage.empty() && mUserCurrencyBuy == 0) 382 if (!mZeroMessage.empty() && mUserCurrencyBuy == 0)
382 { 383 {
383 lindenAmount->setText(LLString::null); 384 lindenAmount->setText(LLStringUtil::null);
384 } 385 }
385 else 386 else
386 { 387 {
@@ -466,7 +467,7 @@ bool LLCurrencyUIManager::process()
466 return changed; 467 return changed;
467} 468}
468 469
469void LLCurrencyUIManager::buy(const LLString& buy_msg) 470void LLCurrencyUIManager::buy(const std::string& buy_msg)
470{ 471{
471 if (!canBuy()) 472 if (!canBuy())
472 { 473 {