mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 09:21:25 +00:00
ntdll: Fix inverted TlsIndex check.
Fixes: a30a5287f0
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54539
This commit is contained in:
parent
1a61a4e1a6
commit
1833887428
|
@ -1573,7 +1573,7 @@ static NTSTATUS MODULE_InitDLL( WINE_MODREF *wm, UINT reason, LPVOID lpReserved
|
|||
/* Skip calls for modules loaded with special load flags */
|
||||
|
||||
if (wm->ldr.Flags & LDR_DONT_RESOLVE_REFS) return STATUS_SUCCESS;
|
||||
if (wm->ldr.TlsIndex != -1) call_tls_callbacks( wm->ldr.DllBase, reason );
|
||||
if (wm->ldr.TlsIndex == -1) call_tls_callbacks( wm->ldr.DllBase, reason );
|
||||
if (!entry) return STATUS_SUCCESS;
|
||||
|
||||
if (TRACE_ON(relay))
|
||||
|
|
Loading…
Reference in a new issue