aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/llfloaterbuycurrency.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r--linden/indra/newview/llfloaterbuycurrency.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp
index cbd41f4..1cbf314 100644
--- a/linden/indra/newview/llfloaterbuycurrency.cpp
+++ b/linden/indra/newview/llfloaterbuycurrency.cpp
@@ -358,11 +358,6 @@ void LLFloaterBuyCurrencyUI::onClickErrorWeb(void* data)
358// static 358// static
359void LLFloaterBuyCurrency::buyCurrency() 359void LLFloaterBuyCurrency::buyCurrency()
360{ 360{
361 if (gHideLinks)
362 {
363 return;
364 }
365
366 LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); 361 LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true);
367 ui->noTarget(); 362 ui->noTarget();
368 ui->updateUI(); 363 ui->updateUI();
@@ -371,15 +366,6 @@ void LLFloaterBuyCurrency::buyCurrency()
371 366
372void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price) 367void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price)
373{ 368{
374 if (gHideLinks)
375 {
376 LLStringUtil::format_map_t args;
377 args["[NAME]"] = name;
378 args["[PRICE]"] = llformat("%d", price);
379 gViewerWindow->alertXml("NotEnoughCurrency", args);
380 return;
381 }
382
383 LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true); 369 LLFloaterBuyCurrencyUI* ui = LLFloaterBuyCurrencyUI::soleInstance(true);
384 ui->target(name, price); 370 ui->target(name, price);
385 ui->updateUI(); 371 ui->updateUI();