From 65f718fb58e5cfb2b74ec320a85197b2433f24cf Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 5 Feb 2010 17:59:02 +0100 Subject: Apply 02_changeset_r46_compilation_fixes.patch from Debian --- ChangeLog | 4 ++++ src/slideshow.c | 2 +- src/support.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5544659..83b505d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 05 17:29:55 BST 2005 Tom Gilbert + + * Patch from Matthias Drochner to fix compilation on older systems. + Sat Jul 23 00:30:09 BST 2005 Tom Gilbert * Include the necessary jpegint header to get lossless rotation working in diff --git a/src/slideshow.c b/src/slideshow.c index 2ec05a8..d62f780 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -353,8 +353,8 @@ feh_action_run(feh_file * file, char *action) D_ENTER(4); if (action) { - D(3, ("Running action %s\n", action)); char *sys; + D(3, ("Running action %s\n", action)); sys = feh_printf(action, file); if (opt.verbose && !opt.list && !opt.customlist) diff --git a/src/support.c b/src/support.c index 7f38f27..91dbe23 100644 --- a/src/support.c +++ b/src/support.c @@ -233,7 +233,7 @@ feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled, char *path; path = estrjoin("/", home, ".fehbg", NULL); if ((fp = fopen(path, "w")) == NULL) { - wprintf("Can't open %s for write", path); + weprintf("Can't open %s for write", path); } else { fprintf(fp, "%s\n", fehbg); fclose(fp); -- cgit v1.2.3