Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--no-recursive works incorrectly #767

Open
yalexwander opened this issue Sep 13, 2024 · 0 comments
Open

--no-recursive works incorrectly #767

yalexwander opened this issue Sep 13, 2024 · 0 comments

Comments

@yalexwander
Copy link

To make feh actually to not fetch images from subdirectories when using --start-at option, using --no-recursive option is useless.

I use workaround:

modified   src/filelist.c
@@ -273,8 +273,8 @@ void add_file_to_filelist_recursively(char *origpath, unsigned char level)
 					   - this way "feh some_dir" expands to some_dir's contents */
 					if (opt.recursive)
 						add_file_to_filelist_recursively(newfile, FILELIST_CONTINUE);
-					else
-						add_file_to_filelist_recursively(newfile, FILELIST_LAST);
+					/* else */
+					/* 	add_file_to_filelist_recursively(newfile, FILELIST_LAST); */
 
 					free(newfile);
 				}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant