From: Marius Nita Date: Wed, 6 Nov 2002 14:10:02 +0000 (+0000) Subject: seg fix X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=9c82f9418b090660e910f48021354cd10b639a1b;p=chaz%2Fopenbox seg fix --- 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) { }