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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 368274600b..bf93b80762 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -518,7 +518,7 @@ build_message (EMsgComposer *composer)
if (hdrs->account && hdrs->account->pgp_encrypt_to_self) {
CamelInternetAddress *from = NULL;
- if (hdrs->accounts && hdrs->account->pgp_key && *hdrs->account->pgp_key) {
+ if (hdrs->account && hdrs->account->pgp_key && *hdrs->account->pgp_key) {
address = hdrs->account->pgp_key;
} else {
/* time for plan b */