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

Minor fix when LV_LABEL_TEXT_SEL is 0

This commit is contained in:
Themba Dube 2019-06-16 14:41:58 -04:00
parent abae15ab7c
commit 7fe458229d

View File

@ -111,7 +111,9 @@ lv_obj_t * lv_ta_create(lv_obj_t * par, const lv_obj_t * copy)
ext->cursor.type = LV_CURSOR_LINE;
ext->cursor.valid_x = 0;
ext->one_line = 0;
#if LV_LABEL_TEXT_SEL
ext->text_sel_en = 0;
#endif
ext->label = NULL;
ext->placeholder = NULL;