summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2018-02-15 15:47:31 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2018-02-15 15:47:31 +0200
commitbbb516c5ae1b86c7f2ed3f2a92c2c177c4e26fd2 (patch)
tree173cbe1b960dd057078df8a491915814870767cb /indra
parent5ab314bb95efa02f50ee1f48bb61c518d185b7ea (diff)
MAINT-8291 Fixed Scripts memory usage returns incorrect values in estate tools
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloatertopobjects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatertopobjects.cpp b/indra/newview/llfloatertopobjects.cpp
index e20360066e..3e6fc3dc0d 100644
--- a/indra/newview/llfloatertopobjects.cpp
+++ b/indra/newview/llfloatertopobjects.cpp
@@ -236,7 +236,7 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
&& have_extended_data)
{
columns[column_num]["column"] = "memory";
- columns[column_num]["value"] = llformat("%0.0f", (script_memory / 1000.f));
+ columns[column_num]["value"] = llformat("%0.0f", (script_memory / 1024.f));
columns[column_num++]["font"] = "SANSSERIF";
columns[column_num]["column"] = "URLs";