Commit f6642257 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Fix ~/.fehbg no longer being source-able (closes #342)

parent 08b37e4a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
Tue, 07 Nov 2017 07:51:48 +0100

* Release v2.22.1
    * Allow ~/.fehbg to be sourced (instead of executed) from other shell
      scripts again (broken in 2.22)

Sat, 04 Nov 2017 14:55:38 +0100  Daniel Friesel <derf+feh@finalrewind.org>

* Release v2.22
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ static char *feh_http_load_image(char *url)
char *feh_http_load_image(char *url)
{
	weprintf(
		"Cannot load image %s\n Please recompile with libcurl support",
		"Cannot load image %s\nPlease recompile feh with libcurl support",
		url
	);
	return NULL;
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
				if ((fp = fopen(path, "w")) == NULL) {
					weprintf("Can't write to %s", path);
				} else {
					fputs("#!/bin/sh\nexec ", fp);
					fputs("#!/bin/sh\n", fp);
					if (use_filelist) {
						for (int i = 0; i < cmdargc; i++) {
							fputs(shell_escape(cmdargv[i]), fp);