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-Url: http://vcs.maemo.org/git/?p=modest;a=commitdiff_plain;h=57653bd3ea62804f741422d1f9e4c4bfbb4968f0 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 ae759ea..cc02fb5 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; }