From e18b92d7b9ae559a42e84a68ca8ca11ae4ddec7c Mon Sep 17 00:00:00 2001 From: Dave West Date: Wed, 9 Jan 2008 22:22:36 +0000 Subject: [PATCH] Fix the repeated signature and extra space at beginning of subject Bug #314 --- webcit/messages.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/webcit/messages.c b/webcit/messages.c index 0fe526f23..c53acb028 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -3267,7 +3267,7 @@ void display_enter(void) } wprintf("" "" - "\n"); wprintf(""); @@ -3340,8 +3340,12 @@ void display_enter(void) } } - wprintf(""); + wprintf("\n"); + /** Make sure we only insert our signature once */ + /** We don't care if it was there or not before, it needs to be there now. */ + wprintf("\n"); + /** * The following template embeds the TinyMCE richedit control, and automatically * transforms the textarea into a richedit textarea. @@ -3372,11 +3376,6 @@ void display_enter(void) wprintf(""); /* End of "attachment buttons" div */ - /** Make sure we only insert our signature once */ - if (strcmp(bstr("sig_inserted"), "yes")) { - wprintf("\n"); - } - wprintf(""); wprintf("\n"); -- 2.39.2