From 3338231a54475b05454b51ad4d6044bf2c3e9623 Mon Sep 17 00:00:00 2001
From: sodoku <philip.d.stewart@gmail.com>
Date: Sat, 5 Oct 2019 14:45:39 +0200
Subject: [PATCH] Allow printing lines near the end of the display

---
 lib/gfx/gfx.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/gfx/gfx.c b/lib/gfx/gfx.c
index 8e6c6115c..c076a8343 100644
--- a/lib/gfx/gfx.c
+++ b/lib/gfx/gfx.c
@@ -95,9 +95,6 @@ void gfx_puts(
 			x = 0;
 			y += font->Height;
 		}
-		// if the line is outside the display we return
-		if (y >= r->height)
-			return;
 
 		// now print the character
 		gfx_putchar(font, r, x, y, *str, fg, bg);
-- 
GitLab