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:
Zebediah Figura 2021-10-08 12:20:17 -05:00 committed by Alexandre Julliard
parent 4f5e5cc63f
commit 55678ccaae
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ BOOL WOWTHUNK_Init(void)
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
cbclientex_selector = SELECTOR_AllocBlock( cbclientex_ret, cbclientex_ret_end - cbclientex_ret,
LDT_FLAGS_CODE | LDT_FLAGS_32BIT );
if (!codesel || cbclient_selector || !cbclientex_selector)
if (!codesel || !cbclient_selector || !cbclientex_selector)
return FALSE;
/* Patch the return addresses for CallTo16 routines */