From 4ea569691d43c41c560a528d3c86822f5ac311e1 Mon Sep 17 00:00:00 2001 From: Naim2000 Date: Tue, 22 Jul 2025 18:28:39 -0500 Subject: [PATCH] [console.c] assumed typo in consoleSetWindow --- libogc/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libogc/console.c b/libogc/console.c index 5a0188c6d..9873af218 100644 --- a/libogc/console.c +++ b/libogc/console.c @@ -1122,7 +1122,7 @@ void consoleSetWindow(PrintConsole* console, unsigned int x, unsigned int y, uns if ( y >= console->con_rows) return; if ( x + width > console->con_cols + 1) width = console->con_cols + 1 - x; - if ( y + height > console->con_rows + 1) height = console->con_cols + 1 - y; + if ( y + height > console->con_rows + 1) height = console->con_rows + 1 - y; console->windowWidth = width; console->windowHeight = height;