mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 17:23:53 +00:00
taskmgr: Fix messed up indentation of an if statement (PVS-Studio).
This commit is contained in:
parent
6b4bec8af5
commit
517a495737
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user