From 243c1ba03f0b7031b0c8dce7036ae5b583f252c0 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 28 May 2009 10:39:53 +0000 Subject: Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG. svn path=/trunk/netsurf/; revision=7593 --- desktop/knockout.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop/knockout.c') diff --git a/desktop/knockout.c b/desktop/knockout.c index d99c96909..b1075f3cb 100644 --- a/desktop/knockout.c +++ b/desktop/knockout.c @@ -48,7 +48,7 @@ * |#################| |#################| * +-----------------+ +-----------------+ * - * With knockoout rendering, the bottom rectangle is split up into smaller + * With knockout rendering, the bottom rectangle is split up into smaller * ones and each pixel is just plotted once: * * +-----------------+ @@ -62,13 +62,14 @@ * +-----------------+ */ -#define NDEBUG #include #include #include "desktop/knockout.h" #include "desktop/plotters.h" #include "image/bitmap.h" +#define NDEBUG #include "utils/log.h" +#undef NDEBUG #define KNOCKOUT_ENTRIES 3072 /* 40 bytes each */ #define KNOCKOUT_BOXES 768 /* 28 bytes each */ -- cgit v1.2.3