diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-02 23:46:52 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-02 23:46:52 +0800 |
commit | d7a067c9eec1920ed5e73384214599da3409d9af (patch) | |
tree | c12061da1432874f7ec25422f9e5dc10693f4709 | |
parent | 392fb3dd96ebd60ead293101ef67449b5c8e2fc9 (diff) | |
download | gsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.tar.gz gsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.tar.zst gsoc2013-evolution-d7a067c9eec1920ed5e73384214599da3409d9af.zip |
Always set a format prop so that 1.4 and older 1.5 versions won't strcmp()
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.
svn path=/trunk/; revision=25299
-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); |