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 /e-util/e-signature.c | |
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
Diffstat (limited to 'e-util/e-signature.c')
-rw-r--r-- | e-util/e-signature.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |