1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

imgbtn: avoid warning during creation

This commit is contained in:
Gabor Kiss-Vamosi 2020-04-06 15:38:17 +02:00
parent 559709e69f
commit d75ea5f482

View File

@ -414,6 +414,7 @@ static void refr_img(lv_obj_t * imgbtn)
lv_img_header_t header;
const void * src = ext->img_src_mid[state];
if(src == NULL) return;
lv_res_t info_res = LV_RES_OK;
if(lv_img_src_get_type(src) == LV_IMG_SRC_SYMBOL) {