diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-28 10:39:53 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-28 10:39:53 +0000 |
commit | 243c1ba03f0b7031b0c8dce7036ae5b583f252c0 (patch) | |
tree | 48464a1d874bf593eecfbc6c191a838e244f40f6 /desktop/knockout.c | |
parent | 89396e7d2a8c9832ef0d3507a7c5856b2d9229d7 (diff) | |
download | netsurf-243c1ba03f0b7031b0c8dce7036ae5b583f252c0.tar.gz netsurf-243c1ba03f0b7031b0c8dce7036ae5b583f252c0.tar.bz2 |
Limit scope of manually-defined NDEBUG. Purge a bunch of redundant #undef NDEBUG.
svn path=/trunk/netsurf/; revision=7593
Diffstat (limited to 'desktop/knockout.c')
-rw-r--r-- | desktop/knockout.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <assert.h> #include <string.h> #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 */ |