projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a48f7d
)
Eat blank spaces after quote symbol before on requoting
author
José Dapena Paz
<jdapena@igalia.com>
Thu, 11 Feb 2010 11:58:27 +0000
(12:58 +0100)
committer
José Dapena Paz
<jdapena@igalia.com>
Thu, 11 Feb 2010 12:06:41 +0000
(13:06 +0100)
Fixes NB#148667
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
9c722ed
..
b0ddc41
100644
(file)
--- 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;
}