diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-11-06 14:10:02 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-11-06 14:10:02 +0000 |
| commit | 9c82f9418b090660e910f48021354cd10b639a1b (patch) | |
| tree | bfba690d17b0624a430dcd1607f0307cf04f9870 | |
| parent | 746e55f74b1c960ba9a7fb3ca6194b8d171e38de (diff) | |
seg fix
| -rw-r--r-- | otk/style.cc | 8 |
1 files 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) { } |
