diff options
-rw-r--r-- | src/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 04550b9..1a89d5b 100644 --- a/src/options.c +++ b/src/options.c @@ -898,6 +898,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) *filename_start = '\0'; } add_file_to_filelist_recursively(target_directory, FILELIST_FIRST); + original_file_items = gib_list_add_front(original_file_items, estrdup(target_directory)); free(target_directory); } else { add_file_to_filelist_recursively(".", FILELIST_FIRST); |