Commit 7727a485 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

scrrun: Support VT_BSTR|VT_BYREF keys.

parent 5f41a746
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment