g_strdup the md->charset otherwise we'll get memory corruption later. This
2003-01-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): g_strdup the md->charset otherwise we'll get memory corruption later. This may be why non-usascii text is displaying incorrectly. svn path=/trunk/; revision=19419
This commit is contained in:

committed by
Jeffrey Stedfast

parent
7888cdb495
commit
969b2c6b65
@ -1,3 +1,9 @@
|
||||
2003-01-11 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* mail-format.c (mail_format_data_wrapper_write_to_stream):
|
||||
g_strdup the md->charset otherwise we'll get memory corruption
|
||||
later. This may be why non-usascii text is displaying incorrectly.
|
||||
|
||||
2003-01-10 Jeffrey Stedfast <fejj@ximian.com>
|
||||
|
||||
* folder-browser-ui.c (folder_browser_ui_add_list): We also need
|
||||
|
@ -1129,7 +1129,7 @@ mail_format_data_wrapper_write_to_stream (CamelDataWrapper *wrapper, MailDisplay
|
||||
|
||||
/* find out the charset the user wants to override to */
|
||||
if (mail_display && mail_display->charset)
|
||||
charset = mail_display->charset;
|
||||
charset = g_strdup (mail_display->charset);
|
||||
else
|
||||
charset = gconf_client_get_string (gconf, "/apps/evolution/mail/format/charset", NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user