diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-07-03 02:02:27 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-07-03 02:02:27 +0200 |
commit | d8ced7b070beaa010f557c4c244c5c386d4e6efd (patch) | |
tree | 9f676f5ec4654f5d4b306393b2c35c34e50bdfe4 /code/fe310/eos/eve/widget/label.c | |
parent | f550a31fda2cb7d76e917ab69d075daa1557bf99 (diff) |
str widget draw selection and cursor implemented
Diffstat (limited to 'code/fe310/eos/eve/widget/label.c')
-rw-r--r-- | code/fe310/eos/eve/widget/label.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/fe310/eos/eve/widget/label.c b/code/fe310/eos/eve/widget/label.c index f47b7f4..23d31a6 100644 --- a/code/fe310/eos/eve/widget/label.c +++ b/code/fe310/eos/eve/widget/label.c @@ -16,7 +16,7 @@ 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_strw(font, label->title); + if (label->g.w == 0) label->g.w = eve_font_str_w(font, label->title); if (label->g.h == 0) label->g.h = eve_font_h(font); } |