diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-08 08:22:34 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-08 08:22:34 +0800 |
commit | 4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4 (patch) | |
tree | a9d2bb46df75626d63016ee119ebf129647b6f7c | |
parent | 1a02a9edf6d9f6c3dbb320578d95f73daada37e8 (diff) | |
download | gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.gz gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.bz2 gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.lz gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.xz gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.tar.zst gsoc2013-evolution-4bac88ea1601934d8ee9a1d1b1748f3963ebd6a4.zip |
Check current_message for NULL - this fixes a bug running under SunOS (not
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).
svn path=/trunk/; revision=8093
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-mt.c | 2 |
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, |