Added libxslt initialization to main()

It worked without this. Just to be on the safe side...
This commit is contained in:
Gergely Polonkai 2013-09-19 23:10:36 +02:00
parent 0432dcceb9
commit 3c3a09143b

View File

@ -4,6 +4,7 @@
#include <glib/gi18n.h> #include <glib/gi18n.h>
#include <libxml/xmlversion.h> #include <libxml/xmlversion.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxslt/xslt.h>
#include <libexslt/exslt.h> #include <libexslt/exslt.h>
#include <libgd/gd.h> #include <libgd/gd.h>
@ -92,6 +93,7 @@ main(int argc, char *argv[])
LIBXML_TEST_VERSION; LIBXML_TEST_VERSION;
xmlSubstituteEntitiesDefault(1); xmlSubstituteEntitiesDefault(1);
xmlLoadExtDtdDefaultValue = 1; xmlLoadExtDtdDefaultValue = 1;
xsltInit();
exsltRegisterAll(); exsltRegisterAll();
gswe_init(); gswe_init();