aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/brailleboi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/brailleboi.c b/src/brailleboi.c
index d7f3e67..8b331e5 100644
--- a/src/brailleboi.c
+++ b/src/brailleboi.c
@@ -41,6 +41,8 @@ void braillePrint(int data)
int braillePlot(int x, int y, image_buffer* buf)
{
+ x = x + 1;
+ y = y + 1;
//Check if plot is within bounds
if ((x>buf->width) | (y>buf->height))
return 1;