From be2809c7b806a311dabea1b69e457f978dff6399 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Tue, 29 Jan 2002 19:16:29 +0000 Subject: initialize line to 0 to make everybody happy ;-) ops, set local_font to 2002-01-29 Radek Doulik * mail-callbacks.c (do_mail_print): initialize line to 0 to make everybody happy ;-) ops, set local_font to NULL svn path=/trunk/; revision=15506 --- mail/ChangeLog | 6 ++++++ mail/mail-callbacks.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 23402a11fe..c90460999b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-01-29 Radek Doulik + + * mail-callbacks.c (do_mail_print): initialize line to 0 to make + everybody happy ;-) + ops, set local_font to NULL + 2002-01-28 Jeffrey Stedfast * mail-callbacks.c (composer_get_message): Don't bother checking diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 3358ffc6d4..3d504c3a5c 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2392,7 +2392,7 @@ header_print_cb (GtkHTML *html, GnomePrintContext *print_context, gnome_print_strokepath (print_context); */ } -static GnomeFont *local_font; +static GnomeFont *local_font = NULL; static gint page_num, pages; static void @@ -2422,7 +2422,7 @@ do_mail_print (FolderBrowser *fb, gboolean preview) GnomePrintMaster *print_master; GnomePrintDialog *dialog; GnomePrinter *printer = NULL; - gdouble line; + gdouble line = 0.0; int copies = 1; int collate = FALSE; -- cgit