summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-16 21:45:55 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-16 21:45:55 +0200
commit8da726ac83e5b12a3d5e346fd0259eabdffdbf2b (patch)
tree440eb748cc138aec7431f05474783002fe74ce94 /src/options.c
parent44987e991f923eb1fee80f6a5d9538adc0c88d30 (diff)
options.c: Do not read current directory when setting a background (closes #40)
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c2
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 */