Skip to content

Commit

Permalink
Fix two minor compile-time issues (lvgl#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
xennex22 authored and embeddedt committed Nov 27, 2019
1 parent ec18ea4 commit 148478b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/lv_font/lv_font_fmt_txt.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const uint8_t * lv_font_get_bitmap_fmt_txt(const lv_font_t * font, uint32_t unic
{
lv_font_fmt_txt_dsc_t * fdsc = (lv_font_fmt_txt_dsc_t *) font->dsc;
uint32_t gid = get_glyph_dsc_id(font, unicode_letter);
if(!gid) return false;
if(!gid) return NULL;

const lv_font_fmt_txt_glyph_dsc_t * gdsc = &fdsc->glyph_dsc[gid];

Expand Down
1 change: 0 additions & 1 deletion src/lv_objx/lv_ta.c
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,6 @@ static void get_cursor_style(lv_obj_t * ta, lv_style_t * style_res)
style_res->body.padding.top = 0;
style_res->body.padding.bottom = 0;
style_res->line.width = 1;
style_res->body.opa = LV_OPA_COVER;
}
}

Expand Down

0 comments on commit 148478b

Please sign in to comment.