From 40f966958e1b3bbff698de783b224cd08bc1359e Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 26 Jan 2007 08:36:02 +0000 Subject: (svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why! --- src/table/sprites.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/table') diff --git a/src/table/sprites.h b/src/table/sprites.h index 8ed8d19f0..3a7f365e1 100644 --- a/src/table/sprites.h +++ b/src/table/sprites.h @@ -1330,7 +1330,7 @@ enum SpriteMasks { assert_compile( (1 << TRANSPARENT_BIT & SPRITE_MASK) == 0 ); assert_compile( (1 << RECOLOR_BIT & SPRITE_MASK) == 0 ); -assert_compile( TRANSPARENT_BIT != RECOLOR_BIT ); +assert_compile( !(TRANSPARENT_BIT == RECOLOR_BIT) ); assert_compile( (1 << TRANSPARENT_BIT & PALETTE_MASK) == 0); assert_compile( (1 << RECOLOR_BIT & PALETTE_MASK) == 0 ); -- cgit v1.2.3-70-g09d2