[Wine-patches] [eter-2.1 2/5] oleaut32: Don't assume that SAFEARRAY is the last parameter in an varargs method. (eterbug #10717)
Dmitry Timoshkov
dmitry на baikal.ru
Пн Сен 14 13:32:50 MSK 2015
---
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 6d37bd4..a639989 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -6496,7 +6496,7 @@ static HRESULT WINAPI ITypeInfo_fnInvoke(
}
V_VT(&rgvarg[i]) = rgvt[i];
}
- else if (rgvt[i] == (VT_VARIANT | VT_ARRAY) && func_desc->cParamsOpt < 0 && i == func_desc->cParams-1)
+ else if (rgvt[i] == (VT_VARIANT | VT_ARRAY) && func_desc->cParamsOpt < 0)
{
SAFEARRAY *a;
SAFEARRAYBOUND bound;
--
2.4.8
Подробная информация о списке рассылки Wine-patches