summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/widget/label.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/eve/widget/label.c')
-rw-r--r--fw/fe310/eos/eve/widget/label.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/widget/label.c b/fw/fe310/eos/eve/widget/label.c
index ebea823..b4af37f 100644
--- a/fw/fe310/eos/eve/widget/label.c
+++ b/fw/fe310/eos/eve/widget/label.c
@@ -8,15 +8,15 @@
#include "screen/screen.h"
#include "screen/window.h"
#include "screen/page.h"
-#include "screen/font.h"
+#include "font.h"
#include "label.h"
void eve_label_init(EVELabel *label, EVERect *g, EVEFont *font, char *title) {
memset(label, 0, sizeof(EVELabel));
if (g) label->g = *g;
- label->title = title;
label->font = font;
+ label->title = 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);
}