Handle VT_CY in VarDiv().

This commit is contained in:
Michael Stefaniuc 2005-10-26 12:05:39 +00:00 committed by Alexandre Julliard
parent 2ee26f2145
commit c64abfa374

View File

@ -3120,7 +3120,7 @@ HRESULT WINAPI VarDiv(LPVARIANT left, LPVARIANT right, LPVARIANT result)
lvt = V_VT(left)&VT_TYPEMASK;
rvt = V_VT(right)&VT_TYPEMASK;
found = FALSE;resvt = VT_VOID;
if (((1<<lvt) | (1<<rvt)) & (VTBIT_R4|VTBIT_R8)) {
if (((1<<lvt) | (1<<rvt)) & (VTBIT_R4|VTBIT_R8|VTBIT_CY)) {
found = TRUE;
resvt = VT_R8;
}