From 4ddc76c1e9728425b2bcab35959ebe1d0426cc5f Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sat, 29 Apr 2017 20:23:23 +1000 Subject: [PATCH] fix for remembering quote position --- utils/magiedit/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/magiedit/main.c b/utils/magiedit/main.c index 1f3c756..dbd7753 100644 --- a/utils/magiedit/main.c +++ b/utils/magiedit/main.c @@ -52,6 +52,7 @@ char *message_editor() { body_line_count = 0; done = 0; q_position = 0; + q_start = 0; memset(line, 0, 81); memset(line_cpy, 0, 81); @@ -377,7 +378,7 @@ char *message_editor() { od_printf("%-26.26s", msgarea); od_set_cursor(5, 1); - q_start = 0; + q_line_count = 0; q_done = 0; redraw = 1;