From cea201b3945c2562c977056c69382fc55b197c7e Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Wed, 14 Aug 2019 20:23:19 +0200 Subject: [PATCH] Specs says ZIM favicon should be at '-/favicon', should be tried first --- src/reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader.cpp b/src/reader.cpp index 45e2d5108..aa778dc92 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -258,7 +258,7 @@ Entry Reader::getMainPage() const bool Reader::getFavicon(string& content, string& mimeType) const { - static const char* const paths[] = {"-/favicon.png", "I/favicon.png", "I/favicon", "-/favicon"}; + static const char* const paths[] = {"-/favicon", "-/favicon.png", "I/favicon.png", "I/favicon"}; for (auto &path: paths) { try {