From: Sergio Villar Senin Date: Wed, 12 Dec 2007 11:11:19 +0000 (+0000) Subject: * Fixes NB#64997, Modest is now able to send an email after removing the trailing... X-Git-Tag: git_migration_finished~1938 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=01ef79fc6da36c89ecf55273d0b96ef9333384ab;hp=ee263045b6b80debde38c24ee14c5c9ffd352d0b * Fixes NB#64997, Modest is now able to send an email after removing the trailing ";" from the recipient address pmo-trunk-r3900 --- diff --git a/src/maemo/modest-address-book.c b/src/maemo/modest-address-book.c index 03e29d6..294541d 100644 --- a/src/maemo/modest-address-book.c +++ b/src/maemo/modest-address-book.c @@ -692,7 +692,7 @@ modest_address_book_check_names (ModestRecptEditor *recpt_editor, gboolean updat start_ptr = g_utf8_offset_to_pointer (recipients, start_pos); end_ptr = g_utf8_offset_to_pointer (recipients, end_pos); - address = g_strndup (start_ptr, end_ptr - start_ptr); + address = g_strstrip (g_strndup (start_ptr, end_ptr - start_ptr)); gtk_text_buffer_get_iter_at_offset (buffer, &start_iter, start_pos); gtk_text_buffer_get_iter_at_offset (buffer, &end_iter, end_pos); gtk_text_buffer_select_range (buffer, &start_iter, &end_iter);