Skip to content
Snippets Groups Projects
Commit 756b010f authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

EXT-8318 FIXED Fixed wrong (hardcoded) locale usage to format number of...

EXT-8318 FIXED Fixed wrong (hardcoded) locale usage to format number of inventory items in the Inventory SP.

Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/752/

--HG--
branch : product-engine
parent 1f2dcfd8
No related branches found
No related tags found
No related merge requests found
......@@ -567,7 +567,8 @@ void LLPanelMainInventory::draw()
void LLPanelMainInventory::updateItemcountText()
{
LLLocale locale(LLLocale::USER_LOCALE);
// *TODO: Calling setlocale() on each frame may be inefficient.
LLLocale locale(LLStringUtil::getLocale());
std::string item_count_string;
LLResMgr::getInstance()->getIntegerString(item_count_string, gInventory.getItemCount());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment