aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-02 10:18:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-02 10:18:54 +0800
commit4987b8f93509481cc91ec196c5b383d224cfd15d (patch)
treead1c014a13cc4c5d1010f1d13eb6bb11cc5f3170 /composer/e-msg-composer.c
parentd92d8f84b3688171b08f2d7fb8316c767b6d76d7 (diff)
downloadgsoc2013-evolution-4987b8f93509481cc91ec196c5b383d224cfd15d.tar.gz
gsoc2013-evolution-4987b8f93509481cc91ec196c5b383d224cfd15d.tar.zst
gsoc2013-evolution-4987b8f93509481cc91ec196c5b383d224cfd15d.zip
Fixed some breakage I introduced in the changes below.
2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Fixed some breakage I introduced in the changes below. svn path=/trunk/; revision=25291
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index b3516396c3..d5ba46b8d6 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1009,16 +1009,21 @@ static char *
get_signature_html (EMsgComposer *composer)
{
char *text = NULL, *html = NULL;
- gboolean format_html = FALSE;
+ gboolean format_html;
+
+ if (!composer->signature)
+ return NULL;
if (!composer->signature->autogen) {
if (!composer->signature->filename)
return NULL;
+ format_html = composer->signature->html;
+
if (composer->signature->script) {
text = mail_config_signature_run_script (composer->signature->filename);
} else {
- text = e_msg_composer_get_sig_file_content (composer->signature->filename, composer->signature->html);
+ text = e_msg_composer_get_sig_file_content (composer->signature->filename, format_html);
}
} else {
EAccountIdentity *id;