From a24fab0d7217aaae1463f62d5d1381ef820cfa17 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 8 Jul 2018 12:50:05 +1000 Subject: Added type gFontmetric to replace V2.x fontmetric_t, and values gFontXXX replace fontXXX --- demos/tools/touch_driver_test/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/tools/touch_driver_test/main.c') diff --git a/demos/tools/touch_driver_test/main.c b/demos/tools/touch_driver_test/main.c index 08d6da3b..3915c2a8 100644 --- a/demos/tools/touch_driver_test/main.c +++ b/demos/tools/touch_driver_test/main.c @@ -115,7 +115,7 @@ int main(void) { bHeight = gdispGetStringWidth("-", font)*2; if (bHeight > bWidth2) bWidth2 = bHeight; bWidth2 += 4; - bHeight = gdispGetFontMetric(font, fontHeight)*2+2; + bHeight = gdispGetFontMetric(font, gFontHeight)*2+2; // Create our main display window { -- cgit v1.2.3