Come on magiedit!
This commit is contained in:
parent
0cf27ecc00
commit
58900f61e7
@ -414,12 +414,12 @@ char *message_editor() {
|
|||||||
od_printf("%s", line);
|
od_printf("%s", line);
|
||||||
od_clr_line();
|
od_clr_line();
|
||||||
|
|
||||||
i = position_y;
|
i = position_y + 1;
|
||||||
|
|
||||||
if (position_y <= body_line_count) {
|
if (position_y + 1 <= body_line_count) {
|
||||||
for (; 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_set_cursor(i - top_of_screen + 5, 1);
|
||||||
od_printf("%s", body_lines[i]);
|
od_printf("%s", body_lines[i-1]);
|
||||||
od_clr_line();
|
od_clr_line();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user