msxml3: Clean up initialization.

This commit is contained in:
Michael Karcher 2008-11-02 12:46:41 +01:00 committed by Alexandre Julliard
parent 373f8ff103
commit 813da72423
1 changed files with 3 additions and 6 deletions

View File

@ -55,17 +55,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
#ifdef HAVE_LIBXML2 #ifdef HAVE_LIBXML2
xmlInitParser(); xmlInitParser();
/* Set the default indent character to a single tab. */ /* Set the default indent character to a single tab,
for this thread and as default for new threads */
xmlTreeIndentString = "\t";
xmlThrDefTreeIndentString("\t"); xmlThrDefTreeIndentString("\t");
#endif #endif
#ifdef HAVE_XSLTINIT #ifdef HAVE_XSLTINIT
xsltInit(); xsltInit();
#endif #endif
#ifdef HAVE_LIBXML2
/* Set the current ident to the default */
xmlTreeIndentString = "\t";
#endif
DisableThreadLibraryCalls(hInstDLL); DisableThreadLibraryCalls(hInstDLL);
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH: