ole32: Fix hosting in main apartments.
commitbe55a4bbe28a5666b47e2e2b62c008bbffc9b6e3
authorRob Shearman <rob@codeweavers.com>
Sat, 19 May 2007 16:21:00 +0000 (19 17:21 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 21 May 2007 10:38:54 +0000 (21 12:38 +0200)
tree670206881e78169128293193490c7d8b896b770e
parent02a36afda22b0a0937e8ed8b7ebc4afff4ff3e18
ole32: Fix hosting in main apartments.

The recently introduced code had a bug where it passed the wrong
values into apartment_findfromtype to find the main apartment. Since
this is now the only way the function is used, fix this bug by
changing apartment_findfromtype to apartment_findmain, which only
finds the main apartment.
dlls/ole32/compobj.c