diff options
Diffstat (limited to 'src/brailleboi.c')
| -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; } |
