diff --git a/src/mail_menu.c b/src/mail_menu.c index 2f273f8..1790509 100644 --- a/src/mail_menu.c +++ b/src/mail_menu.c @@ -712,6 +712,7 @@ char *editor(struct user_record *user, char *quote, int quotelen, char *from, in for (i = qfrom; i <= qto; i++) { char *copy = strdup(ptr_vector_get("econtent, i)); ptr_vector_append(&content, copy); + lines++; } s_printf(get_string(86)); @@ -785,6 +786,7 @@ char *editor(struct user_record *user, char *quote, int quotelen, char *from, in } } else { ptr_vector_append(&content, strdup(linebuffer)); + lines++; } } if (quote != NULL) {