Commit 45399ce0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

feh_absolute_path: Do not alter URLs (closes #153)

parent ece02b61
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ git HEAD
      scandir (closes #147)
    * Patch by rangerer: --randomize: re-randomize after list is through
      (closes #154)
    * When setting a wallpaper from a URL, do not try to store it as
      absolute path in .fehbg (closes #153)

Fri, 28 Feb 2014 18:20:25 +0100  Daniel Friesel <derf+feh@finalrewind.org>

+1 −1
Original line number Diff line number Diff line
@@ -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