From 3b1add6a40c28eaeb2c90e21b951312546a59fca Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 26 Mar 2017 21:31:17 +1000 Subject: [PATCH] another 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 a437a9c..fcb810c 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 + top_of_screen + 3 - 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 + top_of_screen + 3, 1); + od_set_cursor(position_y - top_of_screen + 3, 1); od_printf("%s", line); od_clr_line(); break;