diff options
| author | DrNuget <drnuget@outlook.com> | 2025-11-03 02:21:06 +0200 |
|---|---|---|
| committer | DrNuget <drnuget@outlook.com> | 2025-11-03 02:21:06 +0200 |
| commit | fc35c0f8ed323d70c8f02dd131c9a531d02f6cab (patch) | |
| tree | 2f56ee5a55e1d3688492a523dab0b0f3a877cc0f | |
| parent | 46d034efbbe566f8f8cbec902e335a83b21fd4c9 (diff) | |
| download | brailleboi-29164a4d0b73cc51819c4c11b9a566e6482afccc.tar.gz | |
| -rw-r--r-- | src/brailleboi.c | 2 |
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; |
