summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 7cf2468..f1fb149 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -473,7 +473,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
fputs("tile", fp);
if (opt.image_bg) {
fputs(" --image-bg ", fp);
- fputs(opt.image_bg, fp);
+ fputs(shell_escape(opt.image_bg), fp);
}
#ifdef HAVE_LIBXINERAMA
if (opt.xinerama) {