From 5ed9f308906f88080509e9d8322ef451430ecfbe Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 12 Feb 2020 13:00:02 +0100 Subject: improved cleanup of pictures --- lib/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common.c b/lib/common.c index a452b23..2793537 100644 --- a/lib/common.c +++ b/lib/common.c @@ -977,7 +977,6 @@ int removeFile(const char* filename) if (unlink(filename) != 0) { tell(0, "Can't remove file '%s', '%s'", filename, strerror(errno)); - return 1; } @@ -1027,6 +1026,7 @@ xsltStylesheetPtr loadXSLT(const char* name, const char* path, int utf8) tell(0, "Info: Stylesheet '%s' loaded", xsltfile); free(xsltfile); + return stylesheet; } #endif -- cgit v1.2.3