diff --git a/src/widgets/lv_label.c b/src/widgets/lv_label.c index 626e0ae60..09a7d9a04 100644 --- a/src/widgets/lv_label.c +++ b/src/widgets/lv_label.c @@ -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 {