Maybe this time

This commit is contained in:
Andrew Pamment 2017-09-10 20:56:12 +10:00
parent 91f9331ee0
commit 5c21601d3e

View File

@ -414,8 +414,10 @@ char *message_editor() {
od_printf("%s", line);
od_clr_line();
i = position_y + 1;
if (position_y + 1 <= body_line_count) {
for (i=position_y + 1; i< body_line_count && i < top_of_screen + 17;i++) {
for (; i< body_line_count && i < top_of_screen + 17;i++) {
od_set_cursor(i - top_of_screen + 5, 1);
od_printf("%s", body_lines[i]);
od_clr_line();