scrrun: Support VT_BSTR|VT_BYREF keys.

This commit is contained in:
Nikolay Sivov 2015-02-27 18:01:48 +03:00 committed by Alexandre Julliard
parent 5f41a746e9
commit 7727a48595
1 changed files with 2 additions and 1 deletions

View File

@ -485,8 +485,9 @@ static HRESULT WINAPI dictionary_get_HashVal(IDictionary *iface, VARIANT *key, V
V_VT(hash) = VT_I4;
switch (V_VT(key))
{
case VT_BSTR|VT_BYREF:
case VT_BSTR:
V_I4(hash) = get_str_hash(V_BSTR(key), This->method);
V_I4(hash) = get_str_hash(get_key_strptr(key), This->method);
break;
case VT_UI1:
V_I4(hash) = get_num_hash(V_UI1(key));