aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-02 23:46:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-02 23:46:52 +0800
commitd7a067c9eec1920ed5e73384214599da3409d9af (patch)
treec12061da1432874f7ec25422f9e5dc10693f4709 /e-util
parent392fb3dd96ebd60ead293101ef67449b5c8e2fc9 (diff)
downloadgsoc2013-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')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-signature.c3
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);