mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
table: fix typo
This commit is contained in:
parent
de1ccc269c
commit
c8cc9db7f0
@ -195,7 +195,7 @@ void lv_table_set_row_cnt(lv_obj_t * table, uint16_t row_cnt)
|
||||
if(ext->row_cnt > 0) {
|
||||
ext->row_h = lv_mem_realloc(ext->row_h, ext->row_cnt * sizeof(ext->row_h[0]));
|
||||
LV_ASSERT_MEM(ext->row_h);
|
||||
if(ext->cell_data == NULL) return;
|
||||
if(ext->row_h == NULL) return;
|
||||
} else {
|
||||
lv_mem_free(ext->row_h);
|
||||
ext->row_h = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user