ole32: Fix local-variable shadowing in apartment_hostobject_thread.

oldstable
Rob Shearman 2008-02-13 12:34:52 +00:00 committed by Alexandre Julliard
parent 14f7a59270
commit e0d25c6394
1 changed files with 3 additions and 3 deletions

View File

@ -591,9 +591,9 @@ static DWORD CALLBACK apartment_hostobject_thread(LPVOID p)
{
if (!msg.hwnd && (msg.message == DM_HOSTOBJECT))
{
struct host_object_params *params = (struct host_object_params *)msg.lParam;
params->hr = apartment_hostobject(apt, params);
SetEvent(params->event);
struct host_object_params *obj_params = (struct host_object_params *)msg.lParam;
obj_params->hr = apartment_hostobject(apt, obj_params);
SetEvent(obj_params->event);
}
else
{