From d1f218caad102190c6075098c306d0dac4de83ae Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 14 Aug 2012 10:47:31 +0200 Subject: imlib.c: When opening via URL, always use URL as filename --- src/imlib.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/imlib.c') diff --git a/src/imlib.c b/src/imlib.c index e7dcaeb..af7acdd 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -171,14 +171,7 @@ int feh_load_image(Imlib_Image * im, feh_file * file) file->ed = exif_get_data(tmpname); #endif } - if ((opt.slideshow) && (opt.reload == 0) && (image_source != SRC_MAGICK)) { - free(file->filename); - file->filename = estrdup(tmpname); - - if (!opt.keep_http) - add_file_to_rm_filelist(tmpname); - } - else if ((image_source == SRC_MAGICK) || !opt.keep_http) + if ((image_source == SRC_MAGICK) || !opt.keep_http) unlink(tmpname); free(tmpname); -- cgit v1.2.3