diff options
| author | Alec Cox <avlecxk@gmail.com> | 2021-01-22 21:40:59 -0800 | 
|---|---|---|
| committer | Alec Cox <avlecxk@gmail.com> | 2021-01-22 21:40:59 -0800 | 
| commit | ae0f0da32410741e7450b7954d21ea60d32ff353 (patch) | |
| tree | 512d57a40e3ed3222a3cf88b28eda9d841fcccf9 | |
| parent | 42ca97df0f9c96a7037e5ed98629334397ac5053 (diff) | |
fixed for simpler parenthesis matching
| -rw-r--r-- | src/wallpaper.c | 5 | 
1 files 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; | 
