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
1 changed files with 1 additions and 1 deletions

View File

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