aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 2a9c6a58fc..d7949d1f6a 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-17 JP Rosevear <jpr@ximian.com>
+
+ * e-msg-composer.c (e_msg_composer_new_with_message): Use the
+ to/cc/bcc addresses insted of just the to.
+
2001-01-17 Federico Mena Quintero <federico@ximian.com>
* e-icon-list.[ch]: Ximianified email addresses.
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index fdded3fe40..539d0d4f8b 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1632,7 +1632,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
for (i = 0; i < len; i++) {
const char *name, *addr;
- if (camel_internet_address_get (to, i, &name, &addr)) {
+ if (camel_internet_address_get (cc, i, &name, &addr)) {
CamelInternetAddress *cia;
cia = camel_internet_address_new ();
@@ -1646,7 +1646,7 @@ e_msg_composer_new_with_message (CamelMimeMessage *msg)
for (i = 0; i < len; i++) {
const char *name, *addr;
- if (camel_internet_address_get (to, i, &name, &addr)) {
+ if (camel_internet_address_get (bcc, i, &name, &addr)) {
CamelInternetAddress *cia;
cia = camel_internet_address_new ();