From d8ced7b070beaa010f557c4c244c5c386d4e6efd Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 3 Jul 2020 02:02:27 +0200 Subject: str widget draw selection and cursor implemented --- code/fe310/eos/eve/widget/label.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/fe310/eos/eve/widget/label.c') 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); } -- cgit v1.2.3