evolution r36290 - trunk/plugins/prefer-plain
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36290 - trunk/plugins/prefer-plain
- Date: Tue, 9 Sep 2008 15:36:15 +0000 (UTC)
Author: mcrha
Date: Tue Sep 9 15:36:15 2008
New Revision: 36290
URL: http://svn.gnome.org/viewvc/evolution?rev=36290&view=rev
Log:
2008-09-09 Milan Crha <mcrha redhat com>
** Fix for bug #551492
* prefer-plain.c: (org_gnome_prefer_plain_multipart_alternative):
Initialize variable before using it.
Modified:
trunk/plugins/prefer-plain/ChangeLog
trunk/plugins/prefer-plain/prefer-plain.c
Modified: trunk/plugins/prefer-plain/prefer-plain.c
==============================================================================
--- trunk/plugins/prefer-plain/prefer-plain.c (original)
+++ trunk/plugins/prefer-plain/prefer-plain.c Tue Sep 9 15:36:15 2008
@@ -110,6 +110,9 @@
CamelMimePart *part, *display_part = NULL;
int i, nparts, partidlen, displayid = 0;
+ /* FIXME: this part-id stuff is poking private data, needs api */
+ partidlen = t->format->part_id->len;
+
if (epp_mode == EPP_NORMAL) {
gboolean have_plain = FALSE;
@@ -168,9 +171,6 @@
}
}
- /* this part-id stuff is poking private data, needs api */
- partidlen = t->format->part_id->len;
-
/* if we found a text part, show it */
if (display_part) {
g_string_append_printf(t->format->part_id, ".alternative.%d", displayid);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]