aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-11-02 03:10:16 +0200
committerDrNuget <drnuget@outlook.com>2025-11-02 03:10:16 +0200
commit2ce5ebc536eebce92614f930a1150a30f51e3f92 (patch)
treefed6aac23e59f78e3e95ba95b85b9de1d4cb0003
parent562e63630e5c72a7cd28ec5f2251d0824a5450d5 (diff)
downloadbrailleboi-1d157a4545ff7a948e103a552b0de221359770a6.tar.gz
y height hotfixv0.1.1
-rw-r--r--src/brailleboi.c2
1 files changed, 1 insertions, 1 deletions
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;
}