From 53a29ddb22d09b219007e30e80a0e4b2be754ef0 Mon Sep 17 00:00:00 2001 From: konect-V <66421869+konect-V@users.noreply.github.com> Date: Sun, 22 Sep 2024 13:55:36 +0200 Subject: [PATCH] Bug fix --- sources/core/apps/text-reader/source/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/core/apps/text-reader/source/core/core.c b/sources/core/apps/text-reader/source/core/core.c index 6b8a42a43..9e0e24b7a 100644 --- a/sources/core/apps/text-reader/source/core/core.c +++ b/sources/core/apps/text-reader/source/core/core.c @@ -391,7 +391,7 @@ int load_text_file(char* path){ uint32_t get_buffer_height(){ char* c = &text_buffer[text_index_start]; uint32_t cx_pos = 0; - uint32_t cy_pos = 0; + uint32_t cy_pos = FONT_HEIGHT; uint32_t col_count = 0; uint32_t row_count = 0;