From bebafc42ab6199e86d4c2c901fac8d091bfffef0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 6 Mar 2018 20:24:07 +0300 Subject: some fixes --- plugins/AVS/src/image_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AVS/src') diff --git a/plugins/AVS/src/image_utils.cpp b/plugins/AVS/src/image_utils.cpp index 0e2107f87b..c34a998aa3 100644 --- a/plugins/AVS/src/image_utils.cpp +++ b/plugins/AVS/src/image_utils.cpp @@ -1,7 +1,7 @@ #include "stdafx.h" #include "image_utils.h" -#define GET_PIXEL(__P__, __X__, __Y__) ( __P__ + width * 4 * (__Y__) + 4 * (__X__)) +#define GET_PIXEL(__P__, __X__, __Y__) ( (__P__) + width * 4 * (__Y__) + 4 * (__X__)) // Make a bitmap all transparent, but only if it is a 32bpp void MakeBmpTransparent(HBITMAP hBitmap) -- cgit v1.2.3