From 33dac9b38ac40ba90cf35c4c34f195712b70a32f Mon Sep 17 00:00:00 2001 From: mintsuki Date: Thu, 6 Oct 2022 03:58:04 +0200 Subject: [PATCH] term: Unbreak textmode + serial combo --- common/drivers/vga_textmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/drivers/vga_textmode.c b/common/drivers/vga_textmode.c index 163e1eb9..fbc517b9 100644 --- a/common/drivers/vga_textmode.c +++ b/common/drivers/vga_textmode.c @@ -317,8 +317,8 @@ void vga_textmode_init(bool managed) { text_double_buffer_flush(term); if (managed && serial) { - term->cols = term->cols > 80 ? 80 : term->cols; - term->rows = term->rows > 24 ? 24 : term->rows; + term->cols = 80; + term->rows = 24; } else { term->cols = 80; term->rows = 25;