diff options
| author | DrNuget <drnuget@outlook.com> | 2025-11-02 03:10:16 +0200 |
|---|---|---|
| committer | DrNuget <drnuget@outlook.com> | 2025-11-02 03:10:16 +0200 |
| commit | 2ce5ebc536eebce92614f930a1150a30f51e3f92 (patch) | |
| tree | fed6aac23e59f78e3e95ba95b85b9de1d4cb0003 | |
| parent | 562e63630e5c72a7cd28ec5f2251d0824a5450d5 (diff) | |
| download | brailleboi-0.1.1.tar.gz | |
y height hotfixv0.1.1
| -rw-r--r-- | src/brailleboi.c | 2 |
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; } |
