=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: msrle32: Remove superfluous defines.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Dec 11 15:22:15 CST 2014
Module: wine
Branch: master
Commit: 4d24fc415fffefa6659fcafff70cd5f608b71943
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d24fc415fffefa6659fcafff70cd5f608b71943
Author: André Hentschel <nerv at dawncrow.de>
Date: Wed Dec 10 23:47:12 2014 +0100
msrle32: Remove superfluous defines.
---
dlls/msrle32/msrle32.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/msrle32/msrle32.c b/dlls/msrle32/msrle32.c
index aba94a0..bd02ae6 100644
--- a/dlls/msrle32/msrle32.c
+++ b/dlls/msrle32/msrle32.c
@@ -36,13 +36,10 @@ static HINSTANCE MSRLE32_hModule = 0;
#define compare_fourcc(fcc1, fcc2) (((fcc1)^(fcc2))&~0x20202020)
-#define ABS(a) ((a) < 0 ? -(a) : (a))
-#define SQR(a) ((a) * (a))
-
static inline WORD ColorCmp(WORD clr1, WORD clr2)
{
UINT a = clr1 - clr2;
- return SQR(a);
+ return a * a;
}
static inline WORD Intensity(RGBQUAD clr)
{
More information about the wine-cvs
mailing list