commit | 7451774496aaf2be2d08ba3c791e6b7fcf8dfdfe | [log] [tgz] |
---|---|---|
author | Stephane Lussier <stephane@macadamian.com> | Fri Mar 19 16:44:32 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Fri Mar 19 16:44:32 1999 +0000 |
tree | 5d7729913a878cebc3f94e162b4db0a02a346d4d | |
parent | ff2b3697393eb1f08c9089ebbb12829476110a2d [diff] [blame] |
Set type of destination variant in VariantChangeTypeEx function.
diff --git a/ole/variant.c b/ole/variant.c index 5490d22..ad63734 100644 --- a/ole/variant.c +++ b/ole/variant.c
@@ -1986,6 +1986,11 @@ */ VariantClear( &varg ); + /* set the type of the destination + */ + if ( res == S_OK ) + pvargDest->vt = vt; + return res; }