diff options
Diffstat (limited to 'code/fe310/eos/eve/widget/label.c')
-rw-r--r-- | code/fe310/eos/eve/widget/label.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/fe310/eos/eve/widget/label.c b/code/fe310/eos/eve/widget/label.c index 6013a22..f47b7f4 100644 --- a/code/fe310/eos/eve/widget/label.c +++ b/code/fe310/eos/eve/widget/label.c @@ -16,8 +16,8 @@ void eve_label_init(EVELabel *label, EVERect *g, char *title, EVEFont *font) { if (g) label->g = *g; label->title = title; label->font = font; - if (label->g.w == 0) label->g.w = eve_font_string_width(font, label->title); - if (label->g.h == 0) label->g.h = eve_font_height(font); + if (label->g.w == 0) label->g.w = eve_font_strw(font, label->title); + if (label->g.h == 0) label->g.h = eve_font_h(font); } void eve_label_draw(EVELabel *label) { |