Commit a8f8bef0 authored by Kevin Holbrook's avatar Kevin Holbrook Committed by Alexandre Julliard

Fix ambiguous else warning.

parent 4ab79f96
......@@ -116,16 +116,20 @@ static void MODULE_DoInitializeDLLs( WINE_MODREF *wm,
skip = TRUE;
if ( type == DLL_PROCESS_ATTACH )
{
if ( wm->flags & WINE_MODREF_PROCESS_ATTACHED )
skip = TRUE;
else
wm->flags |= WINE_MODREF_PROCESS_ATTACHED;
}
if ( type == DLL_PROCESS_DETACH )
{
if ( wm->flags & WINE_MODREF_PROCESS_DETACHED )
skip = TRUE;
else
wm->flags |= WINE_MODREF_PROCESS_DETACHED;
}
if ( !skip )
{
......
......@@ -202,10 +202,12 @@ void PROCESS_CallUserSignalProc( UINT uCode, DWORD dwThreadOrProcessId, HMODULE
/* Get thread or process ID */
if ( dwThreadOrProcessId == 0 )
{
if ( uCode == USIG_THREAD_INIT || uCode == USIG_THREAD_EXIT )
dwThreadOrProcessId = GetCurrentThreadId();
else
dwThreadOrProcessId = GetCurrentProcessId();
}
/* Convert module handle to 16-bit */
......
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