mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Set type of destination variant in VariantChangeTypeEx function.
This commit is contained in:
parent
ff2b369739
commit
7451774496
@ -1986,6 +1986,11 @@ HRESULT WINAPI VariantChangeTypeEx(VARIANTARG* pvargDest, VARIANTARG* pvargSrc,
|
||||
*/
|
||||
VariantClear( &varg );
|
||||
|
||||
/* set the type of the destination
|
||||
*/
|
||||
if ( res == S_OK )
|
||||
pvargDest->vt = vt;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user