Commit 854e59d9 authored by Alexandre Julliard's avatar Alexandre Julliard

Allow RELAY_SetupDLL to be called twice on the same dll.

parent d9339f83
......@@ -755,8 +755,6 @@ void RELAY_SetupDLL( HMODULE module )
debug->call = 0xe9; /* jmp relative */
debug->callfrom32 = (char *)debug->orig - (char *)&debug->ret;
}
debug->orig = (FARPROC)((char *)module + (DWORD)*funcs);
*funcs = (char *)debug - (char *)module;
}
}
......
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