Commit 8da726ac authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

options.c: Do not read current directory when setting a background (closes #40)

parent 44987e99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -787,7 +787,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
			add_file_to_filelist_recursively(argv[optind++], FILELIST_FIRST);
		}
	}
	else if (finalrun && !opt.filelistfile)
	else if (finalrun && !opt.filelistfile && !opt.bgmode)
		add_file_to_filelist_recursively(".", FILELIST_FIRST);

	/* So that we can safely be called again */