Module: wine Branch: master Commit: 517a4957378295ffba4d6e286a326577a7dab43c URL: http://source.winehq.org/git/wine.git/?a=commit;h=517a4957378295ffba4d6e286a...
Author: Michael Stefaniuc mstefani@redhat.de Date: Tue Oct 28 23:32:43 2014 +0100
taskmgr: Fix messed up indentation of an if statement (PVS-Studio).
---
programs/taskmgr/graph.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/taskmgr/graph.c b/programs/taskmgr/graph.c index 859624e..4098675 100644 --- a/programs/taskmgr/graph.c +++ b/programs/taskmgr/graph.c @@ -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;