diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/knockout.c | 5 | ||||
-rw-r--r-- | desktop/textinput.c | 1 |
2 files changed, 4 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 */ diff --git a/desktop/textinput.c b/desktop/textinput.c index 927088331..34425e522 100644 --- a/desktop/textinput.c +++ b/desktop/textinput.c @@ -38,6 +38,7 @@ #include "render/layout.h" #define NDEBUG #include "utils/log.h" +#undef NDEBUG #include "utils/talloc.h" #include "utils/utf8.h" #include "utils/utils.h" |