From 6225609f0ee4d09c192a629bff5ee4cf36607742 Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 13 May 2014 11:23:25 +0200 Subject: [PATCH] Fixes #1090 --- radio/src/gui/view_text.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radio/src/gui/view_text.cpp b/radio/src/gui/view_text.cpp index cce537045..88da53fc3 100644 --- a/radio/src/gui/view_text.cpp +++ b/radio/src/gui/view_text.cpp @@ -93,6 +93,9 @@ void readTextFile(int & lines_count) s_text_screen[current_line-s_pgOfs][line_length++] = c; } } + if (c != '\n') { + current_line += 1; + } f_close(&file); }