jscript: Prefer builtin version.

This commit is contained in:
Jacek Caban 2012-07-13 16:10:13 +02:00 committed by Alexandre Julliard
parent 4f1a71ab0d
commit 8613d5e9cc
1 changed files with 1 additions and 4 deletions

View File

@ -136,10 +136,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
switch(fdwReason) {
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
jscript_hinstance = hInstDLL;