diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 4ef5313660..b561361553 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -6663,6 +6663,9 @@ void process_economy_data(LLMessageSystem *msg, void** /*user_data*/) // // LL_INFOS_ONCE("Messaging") << "EconomyData message arrived; upload cost is L$" << upload_cost << LL_ENDL; LL_INFOS_ONCE("Messaging") << Tea::wrapCurrency("EconomyData message arrived; upload cost is L$") << upload_cost << LL_ENDL; + + // update L$ substitution for "Buy and Sell L$", it was set before we knew the currency + gMenuHolder->getChild("Buy and Sell L$")->setLabelArg("L$", LLStringExplicit("L$")); // gMenuHolder->getChild("Upload Image")->setLabelArg("[COST]", llformat("%d", upload_cost)); gMenuHolder->getChild("Upload Sound")->setLabelArg("[COST]", llformat("%d", upload_cost)); diff --git a/indra/teapot/tea.cpp b/indra/teapot/tea.cpp index 7687868a27..2f6b19c2e7 100644 --- a/indra/teapot/tea.cpp +++ b/indra/teapot/tea.cpp @@ -33,7 +33,7 @@ #include "tea.h" -std::string Tea::sCurrency; +std::string Tea::sCurrency="L$"; Tea::Tea() {