[MMSYS] OnHScroll(): Fix wrong '&&' operator (#2855)

CORE-17079
This commit is contained in:
Serge Gautherie 2020-05-25 19:57:52 +02:00 committed by GitHub
parent 327813e7da
commit 03d5ff7f68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)