Commit c0a55051 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Merge branch 'fix-no-files-found-on-reload' of https://github.com/Ferada/feh...

Merge branch 'fix-no-files-found-on-reload' of https://github.com/Ferada/feh into Ferada-fix-no-files-found-on-reload
parents e6a53509 d1cffb06
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -108,6 +108,10 @@ void cb_reload_timer(void *data)
	else if (!opt.filelistfile && !opt.bgmode)
		add_file_to_filelist_recursively(".", FILELIST_FIRST);

	if (opt.filelistfile) {
		filelist = gib_list_cat(filelist, feh_read_filelist(opt.filelistfile));
	}
	
	if (!(filelist_len = gib_list_length(filelist))) {
		eprintf("No files found to reload.");
	}