From 4e30159ad7ffd59c0a15f421c3b49842badeb74d Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 5 Feb 2018 12:04:15 +0100 Subject: Add FZ_DEBUG_HTML option to EPUB parser. --- source/fitz/xml.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/fitz') diff --git a/source/fitz/xml.c b/source/fitz/xml.c index cac3692e..b7c89cf4 100644 --- a/source/fitz/xml.c +++ b/source/fitz/xml.c @@ -2,6 +2,7 @@ #include #include +#include static const struct { const char *ent; int ucs; } html_entities[] = { {"nbsp",160}, {"iexcl",161}, {"cent",162}, {"pound",163}, @@ -95,7 +96,6 @@ struct fz_xml_s fz_xml *up, *down, *tail, *prev, *next; }; -#if 0 static void xml_indent(int n) { while (n--) { @@ -152,7 +152,6 @@ void fz_debug_xml(fz_xml *item, int level) printf(")%s\n", item->name); } } -#endif fz_xml *fz_xml_prev(fz_xml *item) { -- cgit v1.2.3