aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gwin/gwin_label.c')
-rw-r--r--src/gwin/gwin_label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_label.c b/src/gwin/gwin_label.c
index 88573210..97b9f304 100644
--- a/src/gwin/gwin_label.c
+++ b/src/gwin/gwin_label.c
@@ -32,7 +32,7 @@ static gCoord getheight(const char *text, font_t font, gCoord maxwidth) {
(void) text;
(void) maxwidth;
- return gdispGetFontMetric(font, fontHeight);
+ return gdispGetFontMetric(font, gFontHeight);
}
static const gwidgetVMT labelVMT = {