Zebediah Figura : krnl386: Fix a mistyped NULL check in WOWTHUNK_Init().
Module: wine Branch: master Commit: 55678ccaae1922310706dc741d78b00b9268ee8a URL: https://source.winehq.org/git/wine.git/?a=commit;h=55678ccaae1922310706dc741... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Fri Oct 8 12:20:17 2021 -0500 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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/krnl386.exe16/wowthunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/krnl386.exe16/wowthunk.c b/dlls/krnl386.exe16/wowthunk.c index ca3c57f8e0b..8cc1fa248e6 100644 --- a/dlls/krnl386.exe16/wowthunk.c +++ b/dlls/krnl386.exe16/wowthunk.c @@ -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 */
participants (1)
-
Alexandre Julliard