From 7da795698644949174aa9b3fc82a3a1ad58829f4 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 20 Dec 2007 17:04:45 +0000 Subject: [PATCH] * berto is smarter than i am pmo-trunk-r3951 --- src/modest-tny-msg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 69745e5..dfb6d13 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -732,6 +732,11 @@ get_new_to (TnyMsg *msg, TnyHeader *header, const gchar* from, g_free (new_to); new_to = tmp; } + + /* remove duplicate entries */ + gchar *tmp = modest_text_utils_remove_duplicate_addresses (new_to); + g_free (new_to); + new_to = tmp; /* now, strip me (the new From:) from the new_to, but only if * there are >1 addresses there */ @@ -740,11 +745,6 @@ get_new_to (TnyMsg *msg, TnyHeader *header, const gchar* from, g_free (new_to); new_to = tmp; } - - /* remove duplicate entries */ - gchar *tmp = modest_text_utils_remove_duplicate_addresses (new_to); - g_free (new_to); - new_to = tmp; } return new_to; -- 1.7.9.5