Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2012-06-19 21:31:17 +0400
committerUnderground78 <underground78@users.sourceforge.net>2012-06-19 21:31:17 +0400
commitb9664e1796e35229686d2e89cd223ef3c6a655b8 (patch)
tree1218b6d27d68c485de573f4605a4efa01f18d1ca
parent2e6ae214b87393a7f04c582e87ce07cb5b8e31d6 (diff)
Add parenthesis to clarify a check. (/analyse warning C6336).
Patch by XhmikosR. git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5200 10f7b99b-c216-0410-bff0-8a66a9350fd8
-rw-r--r--src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
index 190084d17..e9188780f 100644
--- a/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
+++ b/src/filters/renderer/VideoRenderers/DX9AllocatorPresenter.cpp
@@ -2279,7 +2279,7 @@ void CDX9AllocatorPresenter::DrawStats()
for (int i = 10; i < 250 * ScaleY; i += 10 * ScaleY) {
Points[0].x = (float)StartX;
Points[0].y = (float)(StartY + i);
- Points[1].x = (float)(StartX + ((i - 10) % 40 ? 50 : 625 * ScaleX));
+ Points[1].x = (float)(StartX + (((i - 10) % 40) ? 50 : 625 * ScaleX));
Points[1].y = (float)(StartY + i);
if (i == 130) {
Points[1].x += 50;