aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2002-01-30 03:16:29 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-01-30 03:16:29 +0800
commitbe2809c7b806a311dabea1b69e457f978dff6399 (patch)
treefe783578a53c242fa54fc802dd951e4e7c75a876 /mail
parentdb1b88fe30fa793d8faba33bb6cecbeb4ccdcdaf (diff)
downloadgsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar.gz
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar.bz2
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar.lz
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar.xz
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.tar.zst
gsoc2013-evolution-be2809c7b806a311dabea1b69e457f978dff6399.zip
initialize line to 0 to make everybody happy ;-) ops, set local_font to
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 svn path=/trunk/; revision=15506
Diffstat (limited to 'mail')
-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;