From: José Dapena Paz Date: Thu, 11 Feb 2010 11:58:27 +0000 (+0100) Subject: Eat blank spaces after quote symbol before on requoting X-Git-Tag: 3.2.13-1~13 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c6720b00ddc000f6a0b9a11408e5a18fb605d12a Eat blank spaces after quote symbol before on requoting Fixes NB#148667 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index 9c722ed..b0ddc41 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -883,9 +883,11 @@ unquote_line (GString * l, const gchar *quote_symbol) quote_len = strlen (quote_symbol); while (p[0]) { if (g_str_has_prefix (p, quote_symbol)) { - if (p[quote_len] == ' ') { - p += quote_len; + p+=quote_len; + while (p[0] && p[0] == ' ') { + p++; } + continue; } else { break; }