From 57653bd3ea62804f741422d1f9e4c4bfbb4968f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Dapena=20Paz?= Date: Thu, 11 Feb 2010 12:58:27 +0100 Subject: [PATCH] Eat blank spaces after quote symbol before on requoting Fixes NB#148667 --- src/modest-text-utils.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; } -- 1.7.9.5