diff --git a/source/ubl-settings-datetime.c b/source/ubl-settings-datetime.c index 438bae2..cbfe175 100644 --- a/source/ubl-settings-datetime.c +++ b/source/ubl-settings-datetime.c @@ -688,7 +688,7 @@ void yon_main_window_complete(main_window **window){ gtk_combo_box_text_prepend_text(GTK_COMBO_BOX_TEXT(widgets->TimeSyncTypeCombo),DEFAULT_CUSTOM_LABEL(time_sync_default)); int size; - config_str parsed = yon_dir_get_contents(zone_path,&size); + config_str parsed = yon_file_ls(zone_path,&size); config_str sorted = yon_char_parsed_sort(parsed,size); config_str localized = yon_char_parsed_localize(sorted,size); for (int i=0;i