Skip to content
Snippets Groups Projects
Commit ae0f0da3 authored by Alec Cox's avatar Alec Cox
Browse files

fixed for simpler parenthesis matching

parent 42ca97df
No related branches found
No related tags found
No related merge requests found
......@@ -504,10 +504,11 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
fputc(' ', fp);
if (use_filelist) {
#ifdef HAVE_LIBXINERAMA
for (int i = 0; (i < opt.xinerama ? num_xinerama_screens : 1) && filelist_pos; i++) {
for (int i = 0; (i < opt.xinerama ? num_xinerama_screens : 1) && filelist_pos; i++)
#else
for (int i = 0; (i < 1 ) && filelist_pos; i++) {
for (int i = 0; (i < 1 ) && filelist_pos; i++)
#endif
{
absolute_path = feh_absolute_path(FEH_FILE(filelist_pos->data)->filename);
fputs(shell_escape(absolute_path), fp);
filelist_pos = filelist_pos->next;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment