mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Fixed unbalanced parenthesis for LV_COORD_IS_PX (#2797)
This commit is contained in:
parent
77e76aab21
commit
742db8bdc0
@ -247,7 +247,7 @@ void lv_area_align(const lv_area_t * base, lv_area_t * to_align, lv_align_t alig
|
||||
#define _LV_COORD_TYPE_SPEC (1 << _LV_COORD_TYPE_SHIFT)
|
||||
#define _LV_COORD_TYPE_PX_NEG (3 << _LV_COORD_TYPE_SHIFT)
|
||||
|
||||
#define LV_COORD_IS_PX(x) (_LV_COORD_TYPE(x) == _LV_COORD_TYPE_PX) || \
|
||||
#define LV_COORD_IS_PX(x) (_LV_COORD_TYPE(x) == _LV_COORD_TYPE_PX || \
|
||||
_LV_COORD_TYPE(x) == _LV_COORD_TYPE_PX_NEG ? true : false)
|
||||
#define LV_COORD_IS_SPEC(x) (_LV_COORD_TYPE(x) == _LV_COORD_TYPE_SPEC ? true : false)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user