Commit 55678cca authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

krnl386: Fix a mistyped NULL check in WOWTHUNK_Init().

Fixes Collins English Dictionary. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51802Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4f5e5cc6
...@@ -79,7 +79,7 @@ BOOL WOWTHUNK_Init(void) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment