1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

Merge pull request #896 from manison/patch/fix-unused-var

Remove unused variable in text area
This commit is contained in:
embeddedt 2019-02-25 09:02:14 -05:00 committed by GitHub
commit f386101e82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -658,7 +658,6 @@ void lv_ta_set_text_align(lv_obj_t * ta, lv_label_align_t align)
lv_page_set_scrl_fit2(ta, LV_FIT_FLOOD, LV_FIT_FLOOD);
lv_label_set_align(label, align);
lv_style_t * bg_style = lv_ta_get_style(ta, LV_TA_STYLE_BG);
lv_obj_set_width(label, lv_page_get_fit_width(ta));
}
}