The svgtiny_LIBXML_ERROR constant was changed to throughout the
codebase to svgtiny_LIBDOM_ERROR a long time ago, in 9275ab308, but
this example was missed, probably because it isn't built by default.
---
 examples/svgtiny_display_x11.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c
index d10bfbc..c8bafd5 100644
--- a/examples/svgtiny_display_x11.c
+++ b/examples/svgtiny_display_x11.c
@@ -114,8 +114,8 @@ int main(int argc, char *argv[])
                case svgtiny_OUT_OF_MEMORY:
                        fprintf(stderr, "svgtiny_OUT_OF_MEMORY");
                        break;
-               case svgtiny_LIBXML_ERROR:
-                       fprintf(stderr, "svgtiny_LIBXML_ERROR");
+               case svgtiny_LIBDOM_ERROR:
+                       fprintf(stderr, "svgtiny_LIBDOM_ERROR");
                        break;
                case svgtiny_NOT_SVG:
                        fprintf(stderr, "svgtiny_NOT_SVG");
-- 
2.39.3
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-le...@netsurf-browser.org

Reply via email to