diff options
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-signature.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 90db74dc9e..b23b1b1cb3 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,8 @@ +2004-04-02 Jeffrey Stedfast <fejj@ximian.com> + + * e-signature.c (e_signature_to_xml): Always set a format prop so + that 1.4 and older 1.5 versions won't strcmp() on a NULL value. + 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-account.c: Reference signatures by their UID rather than by an diff --git a/e-util/e-signature.c b/e-util/e-signature.c index 6f34472c65..c02857abb6 100644 --- a/e-util/e-signature.c +++ b/e-util/e-signature.c @@ -347,6 +347,9 @@ e_signature_to_xml (ESignature *signature) if (signature->script) xmlSetProp (node, "script", "true"); } + } else { + /* this is to make Evolution-1.4 and older 1.5 versions happy */ + xmlSetProp (root, "format", "text/html"); } xmlDocDumpMemory (doc, (xmlChar **) &xmlbuf, &n); |