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

chore(theme_default): add parenthesis (#5197)

This commit is contained in:
Benign X 2024-01-05 16:33:15 +08:00 committed by GitHub
parent f43f5f74b5
commit d8a6ae2e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -676,7 +676,7 @@ lv_theme_t * lv_theme_default_init(lv_display_t * disp, lv_color_t color_primary
theme->disp_size == new_size &&
lv_color_eq(theme->base.color_primary, color_primary) &&
lv_color_eq(theme->base.color_secondary, color_secondary) &&
theme->base.flags == dark ? MODE_DARK : 0 &&
(theme->base.flags == dark ? MODE_DARK : 0) &&
theme->base.font_small == font) {
return (lv_theme_t *) theme;