summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/filelist.c2
1 files changed, 1 insertions, 1 deletions
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