From 71537daefda469c390b10f48bd01c9a2d59b8624 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Fri, 2 Oct 2020 18:53:36 +0300 Subject: SL-14057 FIXED The viewer crashes when trying to make a transaction exceeding the L$ balance --- indra/newview/llfloaterbuycurrency.cpp | 2 +- indra/newview/llfloaterbuycurrency.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') 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" -- cgit v1.2.3