taskmgr: Fix messed up indentation of an if statement (PVS-Studio).

oldstable
Michael Stefaniuc 2014-10-28 23:32:43 +01:00 committed by Alexandre Julliard
parent 6b4bec8af5
commit 517a495737
1 changed files with 2 additions and 2 deletions

View File

@ -265,8 +265,8 @@ static void Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd)
* So first find out how many bars we can fit
*/
nBars = ((rcClient.bottom - rcClient.top) - 25) / 3;
if (CommitChargeLimit)
nBarsUsed = (nBars * (int)((CommitChargeTotal * 100) / CommitChargeLimit)) / 100;
if (CommitChargeLimit)
nBarsUsed = (nBars * (int)((CommitChargeTotal * 100) / CommitChargeLimit)) / 100;
nBarsFree = nBars - nBarsUsed;
if (nBarsUsed < 0) nBarsUsed = 0;