more work on the xml reader interfaces. updated Igor's mail and the Web
* xmlreader.c include/libxml/xmlreader.h doc/libxml2-api.xml: more
work on the xml reader interfaces.
* AUTHORS MAINTAINERS doc/* win32/*: updated Igor's mail and the
Web page for the Windows binaries.
Daniel
diff --git a/tree.c b/tree.c
index c3d3045..807189e 100644
--- a/tree.c
+++ b/tree.c
@@ -6603,10 +6603,10 @@
(cur->type == XML_ELEMENT_NODE) &&
(xmlStrEqual(cur->name, BAD_CAST "html"))) {
if (encoding != NULL)
- htmlSetMetaEncoding((htmlDocPtr) cur,
+ htmlSetMetaEncoding((htmlDocPtr) doc,
(const xmlChar *) encoding);
else
- htmlSetMetaEncoding((htmlDocPtr) cur, BAD_CAST "UTF-8");
+ htmlSetMetaEncoding((htmlDocPtr) doc, BAD_CAST "UTF-8");
}
}