From 45399ce0ce0c738a86f928b1dde6e653fc7fb4c5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 14 Apr 2014 17:13:17 +0200 Subject: feh_absolute_path: Do not alter URLs (closes #153) --- src/filelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filelist.c') diff --git a/src/filelist.c b/src/filelist.c index 28bab93..b1a369a 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -573,7 +573,7 @@ char *feh_absolute_path(char *path) if (!path) return(NULL); - if (path[0] == '/') + if (path[0] == '/' || path_is_url(path)) return(estrdup(path)); /* This path is not relative. We're gonna convert it, so that a filelist file can be saved anywhere and feh will still find the -- cgit v1.2.3