diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-22 16:39:28 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:36 +0800 |
commit | 2df4eb2b0c7aa84ac41738a059894b91d79cfc8a (patch) | |
tree | 1815566f5fda869eb4f5dc88fed9efa61545b614 /mail/em-composer-utils.c | |
parent | 04a178dc663af19a2d4843e03161efde21eed6f4 (diff) | |
download | gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar.gz gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar.bz2 gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar.lz gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar.xz gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.tar.zst gsoc2013-evolution-2df4eb2b0c7aa84ac41738a059894b91d79cfc8a.zip |
Bug #434972 - Reply does not detect "RE :" subject prefix
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 3f0c4b155a..40609f0f24 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1966,8 +1966,10 @@ reply_get_composer (EShell *shell, /* Set the subject of the new message. */ if ((subject = (gchar *) camel_mime_message_get_subject (message))) { - if (g_ascii_strncasecmp (subject, "Re: ", 4) != 0) + if (g_ascii_strncasecmp (subject, "Re: ", 4) != 0 && g_ascii_strncasecmp (subject, "Re : ", 5) != 0) subject = g_strdup_printf ("Re: %s", subject); + else if (g_ascii_strncasecmp (subject, "Re : ", 5) == 0) + subject = g_strdup_printf ("Re: %s", subject + 5); else subject = g_strdup (subject); } else { |