diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-04-16 21:45:55 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-04-16 21:45:55 +0200 |
commit | 8da726ac83e5b12a3d5e346fd0259eabdffdbf2b (patch) | |
tree | 440eb748cc138aec7431f05474783002fe74ce94 | |
parent | 44987e991f923eb1fee80f6a5d9538adc0c88d30 (diff) |
options.c: Do not read current directory when setting a background (closes #40)
-rw-r--r-- | src/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c index 18a424b..58af491 100644 --- a/src/options.c +++ b/src/options.c @@ -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 */ |