IMalloc16_Constructor: moved ICOM_VTBL(This) where it belongs.

This commit is contained in:
Marcus Meissner 1999-10-31 17:36:47 +00:00 committed by Alexandre Julliard
parent 2e48a2cc22
commit 318094ec3e

View File

@ -221,8 +221,8 @@ IMalloc16_Constructor() {
VTENT(DidAlloc);
VTENT(HeapMinimize);
#undef VTENT
ICOM_VTBL(This) = (ICOM_VTABLE(IMalloc16)*)SEGPTR_GET(msegvt16);
}
ICOM_VTBL(This) = (ICOM_VTABLE(IMalloc16)*)SEGPTR_GET(msegvt16);
This->ref = 1;
/* FIXME: implement multiple heaps */
This->heap = GlobalAlloc16(GMEM_MOVEABLE,64000);