mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 11:07:34 +08:00
fix(label): add assignment to uninitialized variable (#7587)
This commit is contained in:
@@ -320,6 +320,7 @@ void lv_label_get_letter_pos(const lv_obj_t * obj, uint32_t char_id, lv_point_t
|
||||
pos->x = lv_obj_get_content_width(obj) / 2;
|
||||
break;
|
||||
default:
|
||||
pos->x = 0;
|
||||
break;
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user