From 2c138eb47abea09ac526554fd69642d7318c9946 Mon Sep 17 00:00:00 2001 From: Benign X <1341398182@qq.com> Date: Mon, 24 Apr 2023 19:24:11 +0800 Subject: [PATCH] chore: fix typos (#4158) --- src/core/lv_obj_scroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/lv_obj_scroll.c b/src/core/lv_obj_scroll.c index fe5953dab..c197a1471 100644 --- a/src/core/lv_obj_scroll.c +++ b/src/core/lv_obj_scroll.c @@ -260,7 +260,7 @@ void lv_obj_scroll_by_bounded(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_a /*We need to know the final sizes for bound check*/ lv_obj_update_layout(obj); - /*Don't let scroll more then naturally possible by the size of the content*/ + /*Don't let scroll more than naturally possible by the size of the content*/ lv_coord_t x_current = -lv_obj_get_scroll_x(obj); lv_coord_t x_bounded = x_current + dx; @@ -283,7 +283,7 @@ void lv_obj_scroll_by_bounded(lv_obj_t * obj, lv_coord_t dx, lv_coord_t dy, lv_a } } - /*Don't let scroll more then naturally possible by the size of the content*/ + /*Don't let scroll more than naturally possible by the size of the content*/ lv_coord_t y_current = -lv_obj_get_scroll_y(obj); lv_coord_t y_bounded = y_current + dy;