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

fix(draw): fix compiler error in lv_draw_sw_transform.c #2 (#4612)

Co-authored-by: Victor Wheeler <vaw_info998@comcast.net>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Carlos Diaz 2023-09-29 01:50:18 -06:00 committed by GitHub
parent 87ff746e21
commit 3b2d75be02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ void lv_draw_sw_letter(lv_draw_ctx_t * draw_ctx, const lv_draw_label_dsc_t * dsc
if(letter >= 0x20 &&
letter != 0xf8ff && /*LV_SYMBOL_DUMMY*/
letter != 0x200c) { /*ZERO WIDTH NON-JOINER*/
LV_LOG_WARN("lv_draw_letter: glyph dsc. not found for U+%" PRIX32, letter);
LV_LOG_WARN("lv_draw_letter: glyph dsc. not found for U+%"LV_PRIu32, letter);
#if LV_USE_FONT_PLACEHOLDER
/* draw placeholder */

View File

@ -273,7 +273,7 @@ static void argb_and_rgb_aa(const uint8_t * src, lv_coord_t src_w, lv_coord_t sr
int32_t ys_ups_start = ys_ups;
bool has_alpha;
int32_t px_size;
lv_color_t ck = {0};
lv_color_t ck = _LV_COLOR_ZERO_INITIALIZER;
switch(cf) {
case LV_IMG_CF_TRUE_COLOR:
has_alpha = false;