Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(label) fix in lv_label_get_letter_pos with when pos==line_start
related to #2712
  • Loading branch information
kisvegabor committed Oct 26, 2021
1 parent e95efc1 commit 58f3f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/lv_label.c
Expand Up @@ -351,7 +351,7 @@ void lv_label_get_letter_pos(const lv_obj_t * obj, uint32_t char_id, lv_point_t
char * mutable_bidi_txt = NULL;
/*Handle Bidi*/
if(new_line_start == byte_id) {
visual_byte_pos = byte_id - line_start;
visual_byte_pos = 0;
bidi_txt = &txt[line_start];
}
else {
Expand Down

0 comments on commit 58f3f56

Please sign in to comment.