aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-callbacks.c4
2 files changed, 8 insertions, 2 deletions
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 <rodo@ximian.com>
+
+ * 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 <fejj@ximian.com>
* 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;