From 09d9648f6aa6165c3e9f87656a9bbff36c23987d Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Fri, 22 Nov 2024 20:08:39 +0000 Subject: [PATCH] Improve RTC component name --- src/menu/views/rtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/menu/views/rtc.c b/src/menu/views/rtc.c index f7e93dad..0283f762 100644 --- a/src/menu/views/rtc.c +++ b/src/menu/views/rtc.c @@ -72,8 +72,8 @@ void adjust_rtc_time( struct tm *t, int incr ) { *t = *gmtime( ×tamp ); } -void component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) { - // FIXME: move this to components.c once improved. +void rtc_ui_component_editdatetime_draw ( struct tm t, rtc_field_t selected_field ) { + // FIXME: move this to ui_components.c once improved. /* Format RTC date/time as strings */ char full_dt[30]; char current_selection_chars[30]; @@ -227,7 +227,7 @@ static void draw (menu_t *menu, surface_t *d) { } if (is_editing_mode) { - component_editdatetime_draw(rtc_tm, editing_field_type); + rtc_ui_component_editdatetime_draw(rtc_tm, editing_field_type); } rdpq_detach_show();