Commit 857ce7ee authored by Fan WenJie's avatar Fan WenJie Committed by Alexandre Julliard

wineandroid: Fix incorrect checking reason.

parent bba97115
......@@ -119,7 +119,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
struct init_params params;
void **callback_table;
if (reason == DLL_PROCESS_ATTACH) return TRUE;
if (reason != DLL_PROCESS_ATTACH) return TRUE;
DisableThreadLibraryCalls( inst );
if (__wine_init_unix_call()) return FALSE;
......
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