From 8bc9868705a4c3c91c5f0a2c53f69787c6df846c Mon Sep 17 00:00:00 2001 From: Josh McAtee Date: Thu, 25 Jan 2018 13:14:10 -0800 Subject: [PATCH] Fix spelling of "handler" Correct instances of hadler -> handler --- lv_objx/lv_tabview.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lv_objx/lv_tabview.c b/lv_objx/lv_tabview.c index 6727f6a2e..c5eaa787a 100644 --- a/lv_objx/lv_tabview.c +++ b/lv_objx/lv_tabview.c @@ -37,9 +37,9 @@ static lv_res_t lv_tabview_signal(lv_obj_t * tabview, lv_signal_t sign, void * p static lv_res_t tabpage_signal(lv_obj_t * tab_page, lv_signal_t sign, void * param); static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void * param); -static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); -static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); -static void tabpage_press_lost_hadler(lv_obj_t * tabview, lv_obj_t * tabpage); +static void tabpage_pressed_handler(lv_obj_t * tabview, lv_obj_t * tabpage); +static void tabpage_pressing_handler(lv_obj_t * tabview, lv_obj_t * tabpage); +static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage); static lv_res_t tab_btnm_action(lv_obj_t * tab_btnm, const char * tab_name); static void tabview_realign(lv_obj_t * tabview); @@ -542,13 +542,13 @@ static lv_res_t tabpage_signal(lv_obj_t * tab_page, lv_signal_t sign, void * par if(lv_tabview_get_sliding(tabview) == false) return res; if(sign == LV_SIGNAL_PRESSED) { - tabpage_pressed_hadler(tabview, tab_page); + tabpage_pressed_handler(tabview, tab_page); } else if(sign == LV_SIGNAL_PRESSING) { - tabpage_pressing_hadler(tabview, tab_page); + tabpage_pressing_handler(tabview, tab_page); } else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) { - tabpage_press_lost_hadler(tabview, tab_page); + tabpage_press_lost_handler(tabview, tab_page); } return res; @@ -575,13 +575,13 @@ static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void if(lv_tabview_get_sliding(tabview) == false) return res; if(sign == LV_SIGNAL_PRESSED) { - tabpage_pressed_hadler(tabview, tab_page); + tabpage_pressed_handler(tabview, tab_page); } else if(sign == LV_SIGNAL_PRESSING) { - tabpage_pressing_hadler(tabview, tab_page); + tabpage_pressing_handler(tabview, tab_page); } else if(sign == LV_SIGNAL_RELEASED || sign == LV_SIGNAL_PRESS_LOST) { - tabpage_press_lost_hadler(tabview, tab_page); + tabpage_press_lost_handler(tabview, tab_page); } return res; @@ -592,7 +592,7 @@ static lv_res_t tabpage_scrl_signal(lv_obj_t * tab_scrl, lv_signal_t sign, void * @param tabview pointer to the btn view object * @param tabpage pointer to the page of a btn */ -static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) +static void tabpage_pressed_handler(lv_obj_t * tabview, lv_obj_t * tabpage) { (void)tabpage; @@ -606,7 +606,7 @@ static void tabpage_pressed_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) * @param tabview pointer to the btn view object * @param tabpage pointer to the page of a btn */ -static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) +static void tabpage_pressing_handler(lv_obj_t * tabview, lv_obj_t * tabpage) { lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview); lv_indev_t * indev = lv_indev_get_act(); @@ -645,7 +645,7 @@ static void tabpage_pressing_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) * @param tabview pointer to the btn view object * @param tabpage pointer to the page of a btn */ -static void tabpage_press_lost_hadler(lv_obj_t * tabview, lv_obj_t * tabpage) +static void tabpage_press_lost_handler(lv_obj_t * tabview, lv_obj_t * tabpage) { lv_tabview_ext_t * ext = lv_obj_get_ext_attr(tabview); ext->drag_hor = 0;