aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-mt.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 45a853c779..75ebf60d6b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-07 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-mt.c (set_view_data): Check current_message for NULL - this
+ fixes a bug running under SunOS (not a major deal tho as it's in a
+ debug printf).
+
2001-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_write_on_exit): Oops, save the
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index c481d6c715..bec769b415 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -636,7 +636,7 @@ set_view_data(const char *current_message, int busy)
printf("clearing msg\n");
GNOME_Evolution_ShellView_unsetMessage (shell_view_interface, &ev);
} else {
- printf("setting msg %s\n", current_message);
+ printf("setting msg %s\n", current_message ? current_message : "(null)");
GNOME_Evolution_ShellView_setMessage (shell_view_interface,
current_message?current_message:"",
busy,