From 2ce5ebc536eebce92614f930a1150a30f51e3f92 Mon Sep 17 00:00:00 2001 From: DrNuget Date: Sun, 2 Nov 2025 03:10:16 +0200 Subject: y height hotfix --- src/brailleboi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/brailleboi.c b/src/brailleboi.c index 82fbeeb..d1f14c6 100644 --- a/src/brailleboi.c +++ b/src/brailleboi.c @@ -11,7 +11,7 @@ int brailleInit(int width, int height, image_buffer* buf) buf->width = width; buf->height = height; buf->char_width = (width+1)/2; - buf->char_height = (height+1)/2; + buf->char_height = (height+1)/4; buf->contents = malloc((buf->char_width * buf->char_height) * sizeof(int)); return 0; } -- cgit v1.2.3