Module: wine Branch: master Commit: 4d24fc415fffefa6659fcafff70cd5f608b71943 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4d24fc415fffefa6659fcafff7...
Author: André Hentschel nerv@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) {