]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
README: update LIBXML -> LIBDOM
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 6 Aug 2023 00:36:02 +0000 (20:36 -0400)
committerMichael Drake <tlsa@netsurf-browser.org>
Wed, 9 Aug 2023 20:11:00 +0000 (21:11 +0100)
This constant svgtiny_LIBXML_ERROR was changed throughout the codebase
to svgtiny_LIBDOM_ERROR a long time ago, in 9275ab308, but the README
was missed because nobody reads the documentation :)

README

diff --git a/README b/README
index 3c5095a5cdbd802b2a23d07ebfc91939a809fe13..82a5df8ac9630c1ce7b7a0c675e488baedc52dc4 100644 (file)
--- a/README
+++ b/README
@@ -160,7 +160,7 @@ returned, but the diagram is still valid up to the point of the
 error. The error is recorded in diagram->error_message and the line
 that caused it in diagram->error_line.
 
-svgtiny_LIBXML_ERROR indicates that parsing the XML failed. The
+svgtiny_LIBDOM_ERROR indicates that parsing the XML failed. The
 returned diagram will contain no shapes. svgtiny_NOT_SVG means that
 the XML did not contain a top-level <svg> element.