diff --git a/img2cpi.c b/img2cpi.c index 9b3fb11..01509c9 100644 --- a/img2cpi.c +++ b/img2cpi.c @@ -30,8 +30,9 @@ struct palette { }; #define LENGTHOF(...) (sizeof(__VA_ARGS__) / sizeof(*(__VA_ARGS__))) #define PALETTE(...) { .count = LENGTHOF((union color[]){__VA_ARGS__}), .colors = {__VA_ARGS__} } +typedef char GlyphBitmap[11]; -const extern char font_atlas[256][11]; +const extern GlyphBitmap font_atlas[256]; const extern struct palette DEFAULT_PALETTE, DEFAULT_GRAY_PALETTE; struct arguments {