summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-10-02 18:53:36 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-10-02 18:53:36 +0300
commit71537daefda469c390b10f48bd01c9a2d59b8624 (patch)
tree64dbd63fe50fd77b80983391d4e697cf99c7be56 /indra
parent4e43097c77a5efc1353eec13cdcb0f2c3e3bca92 (diff)
SL-14057 FIXED The viewer crashes when trying to make a transaction exceeding the L$ balance
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloaterbuycurrency.cpp2
-rw-r--r--indra/newview/llfloaterbuycurrency.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp
index a3e9161ee8..5ee6f122bf 100644
--- a/indra/newview/llfloaterbuycurrency.cpp
+++ b/indra/newview/llfloaterbuycurrency.cpp
@@ -307,7 +307,7 @@ void LLFloaterBuyCurrency::buyCurrency(const std::string& name, S32 price)
}
// static
-void LLFloaterBuyCurrency::handleBuyCurrency(bool has_piof, bool has_target, const std::string& name, S32 price)
+void LLFloaterBuyCurrency::handleBuyCurrency(bool has_piof, bool has_target, const std::string name, S32 price)
{
delete sPropertiesRequest;
sPropertiesRequest = NULL;
diff --git a/indra/newview/llfloaterbuycurrency.h b/indra/newview/llfloaterbuycurrency.h
index 1722f56dc1..88d3d17cd6 100644
--- a/indra/newview/llfloaterbuycurrency.h
+++ b/indra/newview/llfloaterbuycurrency.h
@@ -54,7 +54,7 @@ public:
static void buyCurrency();
static void buyCurrency(const std::string& name, S32 price);
- static void handleBuyCurrency(bool has_piof, bool has_target, const std::string& name, S32 price);
+ static void handleBuyCurrency(bool has_piof, bool has_target, const std::string name, S32 price);
/* name should be a noun phrase of the object or service being bought:
"That object costs"
"Trying to give"