From 9e0f718caa6497c1276b77eb200fe1ceabb11f19 Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Tue, 7 Apr 2015 16:56:43 +1000 Subject: [PATCH] * bitmap.h --- src/bitmap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bitmap.h b/src/bitmap.h index 93c80c4..dbe65bf 100644 --- a/src/bitmap.h +++ b/src/bitmap.h @@ -1,8 +1,9 @@ #ifndef HAS_BITMAP_H #define HAS_BITMAP_H 1 -#define BITMAP_SIZE 32 -#define BITMAP_BITS 8 * BITMAP_SIZE +#define BITMAP_SIDE 16 +#define BITMAP_SIZE (BITMAP_SIDE * (BITMAP_SIDE / 8)) +#define BITMAP_BITS (BITMAP_SIZE * 8) typedef unsigned char bitmap_t[BITMAP_SIZE];