diff --git a/source/ubl-settings-logging.c b/source/ubl-settings-logging.c index 1796d02..1c1fc62 100644 --- a/source/ubl-settings-logging.c +++ b/source/ubl-settings-logging.c @@ -493,7 +493,7 @@ void on_inspector_open(GtkWidget *, main_window *widgets){ if (strstr(window->journal_paths[i],"*")){ int cur_size=0; char *cur_folder = yon_char_divide(window->journal_paths[i],yon_char_find_last(window->journal_paths[i],'/')); - config_str files = yon_dir_get_contents(cur_folder,&cur_size); + config_str files = yon_file_ls(cur_folder,&cur_size); char *prearg = yon_char_divide_search(window->journal_paths[i],"*",-1); for (int j=0;jjournal_paths[i])&&strstr(files[j],prearg)){