krnl386: Fix a mistyped NULL check in WOWTHUNK_Init().
Fixes Collins English Dictionary. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51802 Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4f5e5cc63f
commit
55678ccaae
|
@ -79,7 +79,7 @@ BOOL WOWTHUNK_Init(void)
|
||||||
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
|
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
|
||||||
cbclientex_selector = SELECTOR_AllocBlock( cbclientex_ret, cbclientex_ret_end - cbclientex_ret,
|
cbclientex_selector = SELECTOR_AllocBlock( cbclientex_ret, cbclientex_ret_end - cbclientex_ret,
|
||||||
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
|
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
|
||||||
if (!codesel || cbclient_selector || !cbclientex_selector)
|
if (!codesel || !cbclient_selector || !cbclientex_selector)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* Patch the return addresses for CallTo16 routines */
|
/* Patch the return addresses for CallTo16 routines */
|
||||||
|
|
Loading…
Reference in New Issue