From ae0f0da32410741e7450b7954d21ea60d32ff353 Mon Sep 17 00:00:00 2001 From: Alec Cox Date: Fri, 22 Jan 2021 21:40:59 -0800 Subject: fixed for simpler parenthesis matching --- src/wallpaper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wallpaper.c b/src/wallpaper.c index 37b5a1d..12a47f4 100644 --- a/src/wallpaper.c +++ b/src/wallpaper.c @@ -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; -- cgit v1.2.3