From 87d191e737d19512cf089fc6d57841eae1610dd7 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 17 Oct 2019 06:47:51 +0200 Subject: [PATCH] lv_font.h: change field order --- src/lv_font/lv_font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_font/lv_font.h b/src/lv_font/lv_font.h index a86ce25f6..e6433b892 100644 --- a/src/lv_font/lv_font.h +++ b/src/lv_font/lv_font.h @@ -76,12 +76,12 @@ typedef struct _lv_font_struct /*Pointer to the font in a font pack (must have the same line height)*/ uint8_t line_height; /**< The real line height where any text fits*/ uint8_t base_line; /**< Base line measured from the top of the line_height*/ + uint8_t subpx :2; /**< An element of `lv_font_subpx_t`*/ void * dsc; /**< Store implementation specific data here*/ #if LV_USE_USER_DATA lv_font_user_data_t user_data; /**< Custom user data for font. */ #endif - uint32_t subpx :2; /**< An element of `lv_font_subpx_t`*/ } lv_font_t;