From 9c82f9418b090660e910f48021354cd10b639a1b Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Wed, 6 Nov 2002 14:10:02 +0000 Subject: [PATCH] seg fix --- otk/style.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/otk/style.cc b/otk/style.cc index 315f7878..860edc14 100644 --- a/otk/style.cc +++ b/otk/style.cc @@ -10,17 +10,17 @@ namespace otk { -Style::Style() +Style::Style() : font(NULL) { - fprintf(stderr, "new font class used"); } -Style::Style(unsigned int screen) : screen_number(screen) +Style::Style(unsigned int screen) + : font(NULL), screen_number(screen) { } Style::Style(unsigned int screen, otk::BImageControl *ctrl) - : image_control(ctrl), screen_number(screen) + : image_control(ctrl), font(NULL), screen_number(screen) { } -- 2.39.2