https://git.reactos.org/?p=reactos.git;a=commitdiff;h=03d5ff7f68b2eea68c2a4…
commit 03d5ff7f68b2eea68c2a4f3c2ddc9e31ef5b602a
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Mon May 25 19:57:52 2020 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon May 25 19:57:52 2020 +0200
[MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)
CORE-17079
---
dll/cpl/mmsys/speakervolume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/cpl/mmsys/speakervolume.c b/dll/cpl/mmsys/speakervolume.c
index a21c9406dcb..3b8b2cfc81d 100644
--- a/dll/cpl/mmsys/speakervolume.c
+++ b/dll/cpl/mmsys/speakervolume.c
@@ -155,7 +155,7 @@ OnHScroll(
INT id, idx, i, j;
id = (INT)GetWindowLongPtr((HWND)lParam, GWLP_ID);
- if (id < 9475 && id > 9503)
+ if (id < 9475 || id > 9503)
return;
if ((id - 9475) % 4 != 0)