+2003-02-14 [alfons] 0.8.10claws12
+
+ * src/compose.c
+ fix breakage because of uninitialized account pointer.
+ please verify.
+
2003-02-14 [paul] 0.8.10claws11
* src/compose.c
static void compose_insert_sig(Compose *compose)
{
- PrefsAccount *account;
gchar *sigfile;
if (compose->account && compose->account->sig_path)
}
gtk_stext_insert(GTK_STEXT(compose->text), NULL, NULL, NULL, "\n\n", 2);
- if (account->sig_sep) {
+ if (compose->account->sig_sep) {
gtk_stext_insert(GTK_STEXT(compose->text), NULL, NULL, NULL,
- account->sig_sep, -1);
+ compose->account->sig_sep, -1);
gtk_stext_insert(GTK_STEXT(compose->text), NULL, NULL, NULL,
"\n", 1);
}
static void compose_template_apply(Compose *compose, Template *tmpl,
gboolean replace)
{
- PrefsAccount *account;
gchar *qmark;
gchar *parsed_str;
parsed_str = NULL;
}
- if (replace && parsed_str && account->auto_sig)
+ if (replace && parsed_str && compose->account->auto_sig)
compose_insert_sig(compose);
if (replace && parsed_str) {