Commit 3e9af447 authored by Limstash Wong's avatar Limstash Wong Committed by Alexandre Julliard

taskmgr: Fix the unit in memory usage graph on performance tab.

parent 2686550a
......@@ -253,8 +253,8 @@ static void Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd)
/*
* Get the memory usage
*/
CommitChargeTotal = (ULONGLONG)PerfDataGetCommitChargeTotalK();
CommitChargeLimit = (ULONGLONG)PerfDataGetCommitChargeLimitK();
CommitChargeTotal = (ULONGLONG)PerfDataGetCommitChargeTotalK() << 10;
CommitChargeLimit = (ULONGLONG)PerfDataGetCommitChargeLimitK() << 10;
if (CommitChargeTotal < 1024)
StrFormatKBSizeW(CommitChargeTotal, Text, ARRAY_SIZE(Text));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment