From 457da92204e58678e7493748ccf82a3f11d05a1c Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 26 Mar 2017 21:26:50 +1000 Subject: [PATCH] Fix mistake --- utils/magiedit/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index 01375ed..a437a9c 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -476,10 +476,10 @@ char *message_editor() { position_x++; } } - od_set_cursor(position_y-1,1); + od_set_cursor(position_y + top_of_screen + 3 - 1, 1); od_printf("%s", body_lines[position_y - 1]); od_clr_line(); - od_set_cursor(position_y, 1); + od_set_cursor(position_y + top_of_screen + 3, 1); od_printf("%s", line); od_clr_line(); break;