From: Dmitry Timoshkov dmitry@baikal.ru
Fixes regression introduced in 12c79c33a1d9c790201fe3631238c9277424771f.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru --- dlls/oleaut32/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 74fd03cb787..42f4e95b938 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -4556,7 +4556,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength) pOtherTypeInfoBlks[i].other_name[w] = '\0'; } pOtherTypeInfoBlks[i].res1a = *(WORD*)(ptr + len + 4); - pOtherTypeInfoBlks[i].name_offs = *(WORD*)(ptr + len + 8); + pOtherTypeInfoBlks[i].name_offs = *(WORD*)(ptr + len + 6); extra = pOtherTypeInfoBlks[i].hlpstr_len = *(WORD*)(ptr + 8 + len); if(extra) { pOtherTypeInfoBlks[i].extra = malloc(extra);