1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(examples/imgfont): fix warning (#4275)

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
This commit is contained in:
_VIFEXTech 2023-06-12 18:22:12 +08:00 committed by GitHub
parent 4af41d9496
commit 77b77e8017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ static bool get_imgfont_path(const lv_font_t * font, void * img_src,
}
else {
char * path = (char *)img_src;
LV_UNUSED(path);
#if LV_USE_FFMPEG
lv_snprintf(path, len, "%s/%04X.png", "lvgl/examples/assets/emoji", unicode);
#elif LV_USE_PNG