aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 45194184cc..d63e432b40 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -150,7 +150,7 @@ format_text (char *text)
GString *out;
char *s, *space, *outstr;
int len, tabbing, i;
- gboolean linestart = TRUE;
+ gboolean linestart = TRUE, cited = FALSE;
len = strlen (text);
out = g_string_sized_new (len + len / LINE_LEN);
@@ -163,10 +163,11 @@ format_text (char *text)
s++;
tabbing++;
}
+ cited = (tabbing == 0 && *s == '>');
}
len = strcspn (s, "\n");
- if (len > LINE_LEN - tabbing * 8) {
+ if (!cited && len > LINE_LEN - tabbing * 8) {
/* If we can break anywhere between s and
* s + LINE_LEN, do that. We can break between
* space and anything but