Module: wine Branch: master Commit: 813da72423ee37262873f905d61e89116745a9a9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=813da72423ee37262873f905d6...
Author: Michael Karcher wine@mkarcher.dialup.fu-berlin.de Date: Sun Nov 2 12:46:41 2008 +0100
msxml3: Clean up initialization.
---
dlls/msxml3/main.c | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c index b301ab7..8dbacbf 100644 --- a/dlls/msxml3/main.c +++ b/dlls/msxml3/main.c @@ -55,17 +55,14 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) #ifdef HAVE_LIBXML2 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"); #endif #ifdef HAVE_XSLTINIT xsltInit(); #endif - -#ifdef HAVE_LIBXML2 - /* Set the current ident to the default */ - xmlTreeIndentString = "\t"; -#endif DisableThreadLibraryCalls(hInstDLL); break; case DLL_PROCESS_DETACH: