aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/e-mail-reader-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index d43ef27dc3..350e97a102 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -883,10 +883,10 @@ e_mail_reader_reply_to_message (EMailReader *reader,
goto whole_message;
selection = e_web_view_get_selection_html (web_view);
- length = strlen (selection);
if (selection == NULL || *selection == '\0')
goto whole_message;
+ length = strlen (selection);
if (!html_contains_nonwhitespace (selection, length))
goto whole_message;