]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
examples/svgtiny_display_x11.c: update LIBXML -> LIBDOM
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 6 Aug 2023 00:36:03 +0000 (20:36 -0400)
committerMichael Drake <tlsa@netsurf-browser.org>
Wed, 9 Aug 2023 20:14:02 +0000 (21:14 +0100)
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

index d10bfbc9b834ebfcd52dbec0449ef882184eb889..c8bafd5a9b8fe5f6ce7ef7381f3b025d849793ff 100644 (file)
@@ -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");