From fedc13d6564dcf110ba3b7faca3c34a28c7905cb Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 6 Jun 2022 20:48:20 +0200 Subject: error logging working --- client/ui_tabbar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client/ui_tabbar.c') diff --git a/client/ui_tabbar.c b/client/ui_tabbar.c index 9f5707a..91d476f 100644 --- a/client/ui_tabbar.c +++ b/client/ui_tabbar.c @@ -9,8 +9,9 @@ unsigned int g_w2_ui_tabbar_lengths[W2_UI_TAB_COUNT]; void (*g_w2_tab_ptrs[W2_UI_TAB_COUNT])(bool first); void w2_ui_tabbar_init() { - g_w2_tab_ptrs[W2_UI_TAB_START] = &w2_ui_tab_start; - g_w2_tab_ptrs[W2_UI_TAB_DIRC] = &w2_ui_tab_dirc; + g_w2_tab_ptrs[W2_UI_TAB_START] = &w2_ui_tab_start; + g_w2_tab_ptrs[W2_UI_TAB_ERRCATCH] = &w2_ui_tab_errcatch; + g_w2_tab_ptrs[W2_UI_TAB_DIRC] = &w2_ui_tab_dirc; } void w2_ui_switch_tab(w2_e_ui_tabs next_tab) { -- cgit v1.2.3