another fix
This commit is contained in:
parent
3d1f083e24
commit
6e567179ba
@ -594,7 +594,7 @@ char *message_editor() {
|
|||||||
|
|
||||||
// refresh screen;
|
// refresh screen;
|
||||||
position_x = 0;
|
position_x = 0;
|
||||||
if (position_y < body_line_count) {
|
if (position_y <= body_line_count) {
|
||||||
for (i=position_y; i<= body_line_count && i < top_of_screen + 17;i++) {
|
for (i=position_y; i<= body_line_count && i < top_of_screen + 17;i++) {
|
||||||
od_set_cursor(i - top_of_screen + 5, 1);
|
od_set_cursor(i - top_of_screen + 5, 1);
|
||||||
od_printf("%s", body_lines[i]);
|
od_printf("%s", body_lines[i]);
|
||||||
|
Reference in New Issue
Block a user